From 60f47bfd4291abf557e556e3e9a8beff4da7ee4a Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Wed, 24 Jul 2024 09:10:03 -0400 Subject: [PATCH] added changelog and switched actions --- .forgejo/workflows/publish.yml | 18 +++++++++++------- CHANGELOG.md | 20 ++++++++++++++++++++ 2 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 198ce77..029fdb2 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -1,7 +1,8 @@ name: Publish to CoastalCommits and Modrinth on: - release: - types: [published] + push: + tags: + - '*' jobs: Build and Publish: @@ -18,12 +19,15 @@ jobs: zip -r BetterCombatCompat-${{ github.event.release.tag_name }}.zip data pack.mcmeta pack.png LICENSE README.md - name: Publish to Modrinth - uses: actions/modrinth-publish@1.0.0 + uses: actions/mc-publish@3.3 with: - token: ${{ secrets.MODRINTH_STAGING_RELEASE_TOKEN }} - project: ${{ vars.MODRINTH_PROJECT_ID }} - changelog: ${{ github.event.release.body }} + modrinth-token: ${{ secrets.MODRINTH_RELEASE_TOKEN }} + modrinth-id: ${{ vars.MODRINTH_PROJECT_ID }} + modrinth-featured: true + modrinth-unfeature-mode: 'any' loaders: 'datapack' - file: BetterCombatCompat-${{ github.event.release.tag_name }}.zip + changelog-file: CHANGELOG.md + name: 'Better Combat Compatibility ${{ github.event.release.tag_name }}' + files: BetterCombatCompat-${{ github.event.release.tag_name }}.zip dependencies: '[{"project_id": "5sy6g3kz", "dependency_type": "required"}]' api-domain: 'staging-api.modrinth.com' diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f98ea4d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,20 @@ +# CHANGELOG + +All notable changes to the Better Combat Compatibility project will be documented in this file. + +## [1.0.0] - 2024-07-24 + +### Added Weapons + +- Cataclysm: + - Zweiender (Claymore) +- Industrial Foregoing + - Infinity Drill (Claw) + - Infinity Hammer (Hammer) + - Infinity Saw (Axe) + - Infinity Trident (Trident) +- Mekanism + - Atomic Disassembler (Scythe) + - Meka-Tool (Claw) +- Mekanism: Weapons + - Mekatana (Katana)