Skip to content

Commit a82d4cf

Browse files
authored
Merge pull request #19 from pranamphd/fix/missing-env-var
chore(cd): correct variable resolution for release notes
2 parents 5dc1360 + 488d79d commit a82d4cf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/rust-cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,14 @@ jobs:
210210
if: env.RELEASE_EXISTS != 'true'
211211
env:
212212
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
213+
START_TAG: ${{ vars.START_TAG }}
213214
run: |
214215
set -euo pipefail
215216
gh release create "$TAG" \
216217
--draft \
217218
--generate-notes \
218219
--title "$TAG" \
219-
--notes-start-tag "$START_TAG" \
220+
${START_TAG:+--notes-start-tag "$START_TAG"} \
220221
221222
- name: Upload release assets
222223
if: env.TEST_MODE != 'true'

0 commit comments

Comments
 (0)