We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5eefcdd + 658b0f6 commit 93ff37eCopy full SHA for 93ff37e
.github/workflows/release-to-ghcr.yaml
@@ -58,6 +58,10 @@ jobs:
58
echo "Version changed from $previous_version to $current_version in the last commit"
59
echo "version-changed=true" >> $GITHUB_OUTPUT
60
echo "new-version=$current_version" >> $GITHUB_OUTPUT
61
+ elif [ -n "${{ github.event.inputs.commit_sha }}" ] && [[ "$current_version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
62
+ echo "Workflow was manually triggered, trying to publish $current_version"
63
+ echo "version-changed=true" >> $GITHUB_OUTPUT
64
+ echo "new-version=$current_version" >> $GITHUB_OUTPUT
65
else
66
echo "Version unchanged or not following semantic versioning format"
67
echo "version-changed=false" >> $GITHUB_OUTPUT
0 commit comments