echo "${RELEASE_MESSAGE}" > /tmp/.commit-msg.txt
args=(-F /tmp/.commit-msg.txt)
[[ == yes ]] && args+=(--prerelease)
gh release create ${args[@]} "$TARGET_TAG"
shell: /usr/bin/bash -e {0}
env:
PUPPET_VERSION: ~> 7
TARGET_TAG: 6.8.0
RELEASE_MESSAGE: Release of 6.8.0
- Updates for Puppet 8
- Various fixes for Ruby [3](https://github.com/simp/simp-utils/actions/runs/9963658544/job/27530167031#step:4:3) compatibility
- Fix use of legacy facts
- Use Ruby 2.7 (Puppet 7) for GHA tests by default
- Add Ruby 3.2/Puppet 8 to GHA test matrix
GITHUB_TOKEN: ***
/home/runner/work/_temp/ea0b1[4](https://github.com/simp/simp-utils/actions/runs/9963658544/job/27530167031#step:4:4)a4-214c-4b38-90a0-6dab83e481ed.sh: line 3: conditional binary operator expected
Error: Process completed with exit code 2.
https://github.com/simp/simp-utils/actions/runs/9963658544/job/27530167031
The left-hand side of the
[[ == yes ]]comparison is empty.