Skip to content

Commit

Permalink
Fetch tags and confirm release ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tundranerd committed Apr 29, 2024
1 parent b36c703 commit f0ed431
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/linux-release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Linux Release
on:
repository_dispatch:
types: [release-published]
Expand All @@ -8,7 +9,9 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v4
with:
fetch-tags: true
- name: linux-releaes
run: |
echo "Linux Release call ${{github.ref_name}}"
git describe --tags
git describe --tags ${{ event.client_payload.ref_name }}
5 changes: 4 additions & 1 deletion .github/workflows/macos-release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: MacOS Release
on:
repository_dispatch:
types: [release-published]
Expand All @@ -8,7 +9,9 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v4
with:
fetch-tags: true
- id: macos-releaes
run: |
echo "macOS Release call ${{github.ref_name}}"
git describe --tags
git describe --tags ${{ event.client_payload.ref_name }}
6 changes: 5 additions & 1 deletion .github/workflows/windows-release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Windows Release
on:
repository_dispatch:
types: [release-published]
Expand All @@ -8,7 +9,10 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@v4
with:
fetch-tags: true

- id: windows-release
run: |
echo "Windows Release call ${{github.ref_name}}"
git describe --tags
git describe --tags ${{ event.client_payload.ref_name }}

0 comments on commit f0ed431

Please sign in to comment.