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

Commit 0af8504

Browse files
fix: semantic handling of beta releases (#6)
* fix: handle beta version in semver manner * Update action.yml
1 parent e89af86 commit 0af8504

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ name: "Addon Factory Splunk Package Version"
1818
description: "Produce a version for Splunk packages compatible with splunkbase"
1919
runs:
2020
using: "docker"
21-
image: "docker://ghcr.io/splunk/addonfactory-get-splunk-package-version-action:v1.1.6"
21+
image: "Dockerfile"
2222
inputs:
2323
SemVer:
2424
description: Ouput of SEMVER step

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ then
2525
VERSION=$INPUT_SEMVER
2626
elif [[ $INPUT_SEMVER =~ $BETA_REGEX ]];
2727
then
28-
VERSION=$(echo $INPUT_SEMVER | awk '{gsub("-beta\.", "B");print}')
28+
VERSION=$(echo $INPUT_SEMVER | awk '{gsub("-beta\.", "-B");print}')
2929
else
3030
if [[ $GITHUB_EVENT_NAME != 'pull_request' ]];
3131
then

0 commit comments

Comments
 (0)