We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bce8d0 commit b87513cCopy full SHA for b87513c
.github/workflows/build-deb.yml
@@ -81,11 +81,16 @@ jobs:
81
uses: actions/download-artifact@v4
82
with:
83
name: postgresql-ulid-deb
84
+ - name: Set short git commit SHA
85
+ id: vars
86
+ run: |
87
+ calculatedSha=$(git rev-parse --short ${{ github.sha }})
88
+ echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
89
- name: Create Release
90
uses: ncipollo/release-action@v1
91
92
artifacts: "postgresql-${{ env.PG_VERSION }}-ulid_${{ env.VERSION }}_amd64.deb"
- name: Release ${{ github.sha | slice(0, 7) }}
- tag: ${{ github.sha | slice(0, 7) }}
93
+ name: Release ${{ env.COMMIT_SHORT_SHA }}
94
+ tag: ${{ env.COMMIT_SHORT_SHA }}
95
draft: false
96
prerelease: false
0 commit comments