Skip to content

Commit

Permalink
ci: Improving automatic tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
steilerDev committed Jul 5, 2023
1 parent 77e328e commit 75567e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/release/github-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ runs:
if: github.ref_name == 'beta'
run: |
cat ${{ inputs.release-dir }}/.releaserc.json |\
jq ".plugins[0][1].successComment = \"This \${issue.pull_request ? 'pull request' : 'issue'} should be resolved with version [v\${nextRelease.version}](\${releases[0].url}), please confirm.\"" |\
jq ".plugins[0][1].successComment = \"This \${issue.pull_request ? 'pull request was merged and released' : 'issue should be resolved'} with version [v\${nextRelease.version}](\${releases[0].url})\${issue.pull_request ? '.' : ', please confirm.'}\"" |\
jq '.plugins[0][1].releasedLabels = "status(previewed)"' |\
sponge ${{ inputs.release-dir }}/.releaserc.json
- id: configure-main-release
shell: bash
if: github.ref_name == 'main'
run: |
cat ${{ inputs.release-dir }}/.releaserc.json |\
jq ".plugins[0][1].successComment = \"This \${issue.pull_request ? 'pull request' : 'issue'} was resolved with version [v\${nextRelease.version}](\${releases[0].url}).\"" |\
jq ".plugins[0][1].successComment = \"This \${issue.pull_request ? 'pull request was released' : 'issue was resolved'} with version [v\${nextRelease.version}](\${releases[0].url}).\"" |\
jq '.plugins[0][1].releasedLabels = "status(released)"' |\
sponge ${{ inputs.release-dir }}/.releaserc.json
- id: download-artifacts
Expand Down

0 comments on commit 75567e9

Please sign in to comment.