File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9393 package : ${{ github.event_name == 'workflow_dispatch' || steps.changed.outputs.any_changed == 'true' }}
9494 profile : ${{ inputs.profile || 'release' }}
9595 publish : ${{ inputs.publish }}
96- ref : ${{ inputs.ref || github.ref }}
96+ ref : ${{ inputs.ref || github.sha }}
9797 tag : " ${{ inputs.tag-prefix || 'release/' }}v${{ steps.meta.outputs.version }}"
9898 prerelease : ${{ inputs.prerelease }}
9999 draft : ${{ inputs.draft }}
@@ -191,13 +191,13 @@ jobs:
191191 - if : needs.meta.outputs.publish == 'true'
192192 uses : softprops/action-gh-release@9d7c94cfd0a1f3ed45544c887983e9fa900f0564
193193 with :
194- name : v ${{ env.VERSION }}
194+ name : ${{ env.VERSION }}
195195 tag_name : ${{ env.TAG }}
196196 files : artifacts/**/*
197197 generate_release_notes : true
198198 prerelease : ${{ needs.meta.outputs.prerelease }}
199199 draft : ${{ needs.meta.outputs.draft }}
200- - if : needs.meta.outputs.publish == 'true'
200+ - if : needs.meta.outputs.publish == 'true' && needs.meta.outputs.prerelease == 'false' && needs.meta.outputs.draft == 'false'
201201 name : Trigger sync-proxy in linkerd2
202202 run : gh workflow run sync-proxy.yml -f version="$VERSION"
203203 env :
You can’t perform that action at this time.
0 commit comments