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.
1 parent 2f1f071 commit b285553Copy full SHA for b285553
.github/workflows/release.yml
@@ -73,11 +73,12 @@ jobs:
73
- name: Generate Tag name
74
id: generate_tag_name
75
run: |
76
- if [ ${{ inputs.dev }} == true ]; then
77
- echo "TAG_NAME=$(npm version prerelease --preid=${{ inputs.jsTag }} --no-git-tag-version --allow-same-version)" >> $GITHUB_ENV
+ if [ "${{ inputs.dev }}" == "true" ]; then
+ TAG_NAME=$(npm version prerelease --preid=${{ inputs.jsTag }} --no-git-tag-version --allow-same-version)
78
else
79
- echo "TAG_NAME=$(npm version patch --no-git-tag-version)" >> $GITHUB_ENV
+ TAG_NAME=$(npm version patch --no-git-tag-version)
80
fi
81
+
82
echo "Generated TAG_NAME: $TAG_NAME"
83
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
84
echo "::set-output name=TAG_NAME::$TAG_NAME"
0 commit comments