Skip to content

Commit

Permalink
fix(release-to-candidate): include snap name in tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Apr 23, 2024
1 parent a939416 commit 67f20e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release-to-candidate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,14 @@ runs:
- name: Create tag
shell: bash
env:
name: ${{ steps.snapcraft-yaml.outputs.snap-name }}
version: ${{ steps.snapcraft-yaml.outputs.version }}
run: |
git config --global user.name 'Snapcrafters Bot'
git config --global user.email '[email protected]'
revision="${{ steps.publish.outputs.revision }}"
tag_name="${version}/rev${revision}/${{ inputs.architecture }}"
tag_name="${name}-${version}/rev${revision}/${{ inputs.architecture }}"
git tag -a "$tag_name" -m "Revision ${revision}, released for ${{ inputs.architecture }}"
git push origin "$tag_name"

0 comments on commit 67f20e2

Please sign in to comment.