We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 943a276 commit 0bc5783Copy full SHA for 0bc5783
.github/workflows/candidate-release.yml
@@ -20,12 +20,18 @@ jobs:
20
with:
21
repo-token: ${{ secrets.GITHUB_TOKEN }}
22
23
- - name: Create release
24
- env:
25
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ - name: Create tag
26
run: |
27
- echo ${TAG##*/}
28
- gh release create ${TAG##*/} \
29
- --repo="$GITHUB_REPOSITORY" \
30
- --title="${TAG##*/}rc" \
31
- --generate-notes
+ OUTPUT="$(git ls-remote --tags origin | grep ${TAG##*/})"
+ echo "${OUTPUT:0-1}"
+ shell: bash
+
+ # - name: Create release
+ # env:
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
+ # run: |
33
+ # echo ${TAG##*/}
34
+ # gh release create ${TAG##*/} \
35
+ # --repo="$GITHUB_REPOSITORY" \
36
+ # --title="${TAG##*/}rc" \
37
+ # --generate-notes
0 commit comments