Skip to content

Commit

Permalink
[MAJOR] test
Browse files Browse the repository at this point in the history
  • Loading branch information
seymourimadeit committed Feb 3, 2025
1 parent fe689fc commit 3a7925a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/add-to-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ on: [push]
jobs:
add-to-changelog:
runs-on: ubuntu-latest
if: |
contains(github.event.head_commit.message, '[CHANGE]') ||
contains(github.event.head_commit.message, '[MAJOR]')
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-tags: true
- name: Append changelog file
if: contains(github.event.head_commit.message, fromJSON('["[MAJOR]", "[CHANGE]"]'))
uses: DamianReeves/write-file-action@master
with:
path: changelog-1.21.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-to-major-or-minor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push]
jobs:
bump-to-major-or-minor:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[MAJOR]')
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -17,7 +18,6 @@ jobs:
property: mod_version
- name: Increment version variable
id: bump_version
if: contains(github.event.head_commit.message, '[MAJOR]')
uses: christian-draeger/increment-semantic-version@1.2.3
with:
current-version: ${{ steps.version.outputs.value }}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ mod_name=Guard Villagers
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=MIT for code, assets are ARR
# The mod version. See https://semver.org/
mod_version=
mod_version=2.3.0
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
Expand Down

0 comments on commit 3a7925a

Please sign in to comment.