Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit 9ac541b

Browse files
author
rfaircloth-splunk
committed
fix: bash syntax issue
1 parent 7ea9f6b commit 9ac541b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
# ########################################################################
1717

1818
SEMVER_REGEX='^v[0-9]+\.[0-9]+\.[0-9]+$'
19+
echo working with version $INPUT_SEMVER
1920
if [[ $INPUT_SEMVER =~ $SEMVER_REGEX ]];
2021
then
2122
echo using provided semver
2223
VERSION=$INPUT_SEMVER
2324
else
24-
if [[ $GITHUB_EVENT_NAME != 'pull_request' ]]
25+
if [[ $GITHUB_EVENT_NAME != 'pull_request' ]];
2526
then
2627
echo this is not a release build and NOT PR RUNID + run ID
2728
VERSION=v0.0.${GITHUB_RUN_ID}

0 commit comments

Comments
 (0)