Skip to content

Commit

Permalink
Fix 'publish' script to not require Secrets.kt any more
Browse files Browse the repository at this point in the history
Leftover from previous refactoring.
  • Loading branch information
saschpe committed Mar 23, 2024
1 parent 0b865ae commit 741a284
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scripts/publish
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
#!/bin/bash
#
# Script to publish library in case a release commit is discovered
# Script to publish a library in case a release commit is discovered
#

SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
. "${SCRIPT_DIR}/inc.functions.sh"

# Constants
SECRET_FILE=buildSrc/src/main/kotlin/Secrets.kt

# Checks
[[ -f ${SECRET_FILE} ]] || die "Publish requires credentials at '${SECRET_FILE}'"

# Functions
function is_release_commit() {
commit_message=$(git log --oneline --format=%B -n 1 ${1} | head -n 1)
Expand Down

0 comments on commit 741a284

Please sign in to comment.