Skip to content

Commit 3b58ee8

Browse files
committed
Test extract version
1 parent 5068911 commit 3b58ee8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/goreleaser.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ jobs:
3838
with:
3939
cosign-release: 'v2.2.0'
4040

41+
- name: Upload Latest Information
42+
uses: azure/CLI@v2
43+
with:
44+
inlineScript: |
45+
version=$(git describe --tags --abbrev=0)
46+
echo "Version: $version"
47+
echo "$version" > latest.txt
48+
env:
49+
AZURE_STORAGE_SAS_TOKEN: ${{ secrets.AZURE_STORAGE_SAS_TOKEN }}
50+
4151
- name: Run GoReleaser
4252
uses: goreleaser/goreleaser-action@v5
4353
with:
@@ -49,4 +59,4 @@ jobs:
4959
AZURE_STORAGE_SAS_TOKEN: ${{ secrets.AZURE_STORAGE_SAS_TOKEN }}
5060
AZURE_STORAGE_ACCOUNT: testchainloop
5161
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
52-
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
62+
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}

0 commit comments

Comments
 (0)