fixed versioning
This commit is contained in:
parent
ff956c240d
commit
477ca9af8f
1 changed files with 7 additions and 3 deletions
|
@ -14,9 +14,12 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set environment variables
|
||||
uses: actions/env@v2.8
|
||||
|
||||
- name: ZIP the datapack
|
||||
run: |
|
||||
zip -r BetterCombatCompat-${{ github.event.release.tag_name }}.zip data pack.mcmeta pack.png LICENSE README.md
|
||||
zip -r BetterCombatCompat-$CI_REF_NAME.zip data pack.mcmeta pack.png LICENSE README.md
|
||||
|
||||
- name: Publish to Modrinth
|
||||
uses: actions/mc-publish@v3.3
|
||||
|
@ -29,8 +32,9 @@ jobs:
|
|||
game-versions: |
|
||||
[1.20,1.20.1]
|
||||
version-type: 'release'
|
||||
name: 'Better Combat Compatibility ${{ github.event.release.tag_name }}'
|
||||
files: BetterCombatCompat-${{ github.event.release.tag_name }}.zip
|
||||
version: '$CI_REF_NAME'
|
||||
name: 'Better Combat Compatibility $CI_REF_NAME'
|
||||
files: BetterCombatCompat-$CI_REF_NAME.zip
|
||||
dependencies: |
|
||||
better-combat@1.8.5+1.20.1-forge(required){modrinth:5sy6g3kz}
|
||||
api-domain: 'staging-api.modrinth.com'
|
||||
|
|
Loading…
Reference in a new issue