Deploy GitHub Release job fails
Open
Nobody has claimed this yet.
needs-attention
- Dominant language
- Ruby
- Stars
- 0
- Forks
- 8
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 2
Description
https://github.com/simp/simp-utils/actions/runs/9963658544/job/27530167031
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.
The left-hand side of the [[ == yes ]] comparison is empty.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked GitHub Actions run and inspect the workflow step that invokes gh release create, especially how the [[ == yes ]] condition is generated. Reproduce the release job or review its shell output, then confirm the condition is valid when the optional value is empty and the job completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, github-actions
- Domain
- ci-cd, release
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100