Skip to content

Commit

Permalink
ci: Fix existing release check (differently again)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveplays28 committed Apr 14, 2024
1 parent 35ca799 commit c09ff8c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-curseforge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
doNotFailIfNotFound: true

- name: Check if an existing release with the same version exists
if: ${{ steps.get_existing_release.outputs.tag_name }} == v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }}
if: steps.get_existing_release.outputs.tag_name == 'v'steps.mod_version.outputs.value'+mc'steps.supported_minecraft_version_name.outputs.value
run: exit 1

- name: Setup JDK (Temurin 17)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-github-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
doNotFailIfNotFound: true

- name: Check if an existing release with the same version exists
if: ${{ steps.get_existing_release.outputs.tag_name }} == v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }}
if: steps.get_existing_release.outputs.tag_name == 'v'steps.mod_version.outputs.value'+mc'steps.supported_minecraft_version_name.outputs.value
run: exit 1

- name: Setup JDK (Temurin 17)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
doNotFailIfNotFound: true

- name: Check if an existing release with the same version exists
if: ${{ steps.get_existing_release.outputs.tag_name }} == v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }}
if: steps.get_existing_release.outputs.tag_name == 'v'steps.mod_version.outputs.value'+mc'steps.supported_minecraft_version_name.outputs.value
run: exit 1

- name: Setup JDK (Temurin 17)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-modrinth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
doNotFailIfNotFound: true

- name: Check if an existing release with the same version exists
if: ${{ steps.get_existing_release.outputs.tag_name }} == v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }}
if: steps.get_existing_release.outputs.tag_name == 'v'steps.mod_version.outputs.value'+mc'steps.supported_minecraft_version_name.outputs.value
run: exit 1

- name: Setup JDK (Temurin 17)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
doNotFailIfNotFound: true

- name: Check if an existing release with the same version exists
if: ${{ steps.get_existing_release.outputs.tag_name }} == v${{ steps.mod_version.outputs.value }}+mc${{ steps.supported_minecraft_version_name.outputs.value }}
if: steps.get_existing_release.outputs.tag_name == 'v'steps.mod_version.outputs.value'+mc'steps.supported_minecraft_version_name.outputs.value
run: exit 1

- name: Setup JDK (Temurin 17)
Expand Down

0 comments on commit c09ff8c

Please sign in to comment.