ci: remove version prefix from workflow

- this should be supplied via tag
This commit is contained in:
darksaid98 committed 2024-12-04 00:41:26 +01:00
1 parent 14b487c60f
commit 6ff7357ecc
2 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -16,4 +16,4 @@ runs:
with: with:
file: "./main/pack.toml" file: "./main/pack.toml"
key: "version" key: "version"
value: "v${{ inputs.version }}" value: "${{ inputs.version }}"
+7 -7
View File
@@ -59,19 +59,19 @@ jobs:
- name: Update repository - name: Update repository
uses: stefanzweifel/git-auto-commit-action@v5 uses: stefanzweifel/git-auto-commit-action@v5
with: with:
commit_message: v${{ github.ref_name }} commit_message: ${{ github.ref_name }}
branch: main branch: main
# Package release (Client) # Package release (Client)
- name: Build CurseForge Client Modpack - name: Build CurseForge Client Modpack
run: | run: |
packwiz curseforge export --output Optim-v${{ github.ref_name }}.zip packwiz curseforge export --output Optim-${{ github.ref_name }}.zip
shell: bash shell: bash
working-directory: ./main working-directory: ./main
- name: Build Modrinth Client Modpack - name: Build Modrinth Client Modpack
run: | run: |
packwiz modrinth export --output Optim-v${{ github.ref_name }}.mrpack packwiz modrinth export --output Optim-${{ github.ref_name }}.mrpack
shell: bash shell: bash
working-directory: ./main working-directory: ./main
@@ -95,7 +95,7 @@ jobs:
style: Code Style style: Code Style
revert: Reverts revert: Reverts
default-commit-type: Other Changes default-commit-type: Other Changes
release-name: v${{ github.ref_name }} release-name: ${{ github.ref_name }}
mention-authors: false mention-authors: false
mention-new-contributors: false mention-new-contributors: false
include-compare-link: false include-compare-link: false
@@ -109,10 +109,10 @@ jobs:
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
files: | files: |
./main/Optim-v${{ github.ref_name }}.zip ./main/Optim-${{ github.ref_name }}.zip
./main/Optim-v${{ github.ref_name }}.mrpack ./main/Optim-${{ github.ref_name }}.mrpack
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
tag_name: v${{ github.ref_name }} tag_name: ${{ github.ref_name }}
draft: true draft: true
prerelease: false prerelease: false
generate_release_notes: false generate_release_notes: false