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