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

Commit

Permalink
fix: semantic handling of beta releases (#6)
Browse files Browse the repository at this point in the history
* fix: handle beta version in semver manner

* Update action.yml
  • Loading branch information
mkolasinski-splunk authored Aug 3, 2023
1 parent e89af86 commit 0af8504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: "Addon Factory Splunk Package Version"
description: "Produce a version for Splunk packages compatible with splunkbase"
runs:
using: "docker"
image: "docker://ghcr.io/splunk/addonfactory-get-splunk-package-version-action:v1.1.6"
image: "Dockerfile"
inputs:
SemVer:
description: Ouput of SEMVER step
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ then
VERSION=$INPUT_SEMVER
elif [[ $INPUT_SEMVER =~ $BETA_REGEX ]];
then
VERSION=$(echo $INPUT_SEMVER | awk '{gsub("-beta\.", "B");print}')
VERSION=$(echo $INPUT_SEMVER | awk '{gsub("-beta\.", "-B");print}')
else
if [[ $GITHUB_EVENT_NAME != 'pull_request' ]];
then
Expand Down

0 comments on commit 0af8504

Please sign in to comment.