Skip to content

Commit 1f6d829

Browse files
committed
What happens if I release again with the same tag name?
1 parent dda0858 commit 1f6d829

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/draft.yaml

+5-9
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,13 @@ jobs:
4242
- name: Run Linux Build
4343
if: matrix.os == 'ubuntu-latest'
4444
run: |
45-
echo "Ubuntu Latest" > release_ubuntu
4645
make
4746
make check
4847
make artifacts
4948
5049
- name: Run Mac Build
5150
if: matrix.os == 'macos-latest'
5251
run: |
53-
echo "MacOS Latest" > release_mac
5452
brew install gawk
5553
make
5654
make check
@@ -59,21 +57,19 @@ jobs:
5957
- name: Run Windows Build
6058
if: matrix.os == 'windows-latest'
6159
run: |
62-
echo "Windows Latest" > release_windows
6360
choco install winflexbison -y
6461
make
6562
make check
6663
make artifacts
6764
68-
- name: 'Get Previous tag'
69-
id: previous_tag
70-
uses: "WyriHaximus/github-action-get-previous-tag@v1"
71-
with:
72-
fallback: 0.0.0
65+
# - name: 'Get Previous tag'
66+
# id: previous_tag
67+
# uses: "WyriHaximus/github-action-get-previous-tag@v1"
68+
# with:
69+
# fallback: 0.0.0
7370

7471
- name: Release
7572
uses: softprops/action-gh-release@v2
76-
# if: startsWith(github.ref, 'refs/tags/')
7773
with:
7874
tag_name: draftbuild
7975
# tag_name: ${{ steps.previous_tag.outputs.tag }}

0 commit comments

Comments
 (0)