Skip to content

Commit

Permalink
ci: remove version prefix from workflow
Browse files Browse the repository at this point in the history
- this should be supplied via tag
  • Loading branch information
darksaid98 committed Dec 3, 2024
1 parent 14b487c commit 5718439
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/actions/config/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ runs:
with:
file: "./main/pack.toml"
key: "version"
value: "v${{ inputs.version }}"
value: "${{ inputs.version }}"
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5718439

Please sign in to comment.