File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1919 "empty_template" : " " ,
2020 "ignore_labels" : [" ignore changelog" ],
2121 "max_pull_requests" : 1000 ,
22- "max_back_track_time_days" : 30
22+ "max_back_track_time_days" : 60
2323}
Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 env :
1616 GITHUB_TOKEN : ${{ github.token }}
17+ PUBLISH : ${{ !contains(github.event.commits[0].message, '[no-snapshot]') }}
1718 MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
1819 MAVEN_USER : ${{ secrets.MAVEN_USER }}
1920 SNAPSHOT : true
@@ -34,11 +35,13 @@ jobs:
3435 - name : Build
3536 run : ./gradlew build --build-cache
3637 - name : Publish to Maven
37- if : github.repository_owner == 'GregTechCEu'
38+ if : github.repository_owner == 'GregTechCEu' && env.PUBLISH
3839 run : ./gradlew publish --build-cache
3940 - name : Rename Jars
41+ if : env.PUBLISH
4042 run : for file in build/libs/*; do mv "$file" "${file/SHOT/SHOT-$(date --utc '+%Y%m%d-%H%M%S')-${{ env.VERSION_SUFFIX }}}"; done;
4143 - name : Upload Artifacts
44+ if : env.PUBLISH
4245 uses : actions/upload-artifact@v4
4346 with :
4447 name : build-artifacts
@@ -47,14 +50,15 @@ jobs:
4750 retention-days : 90
4851 - name : Changelog
4952 id : changelog
53+ if : env.PUBLISH
5054 uses : mikepenz/release-changelog-builder-action@v5
5155 with :
5256 configuration : ./.github/json/config-latest.json
53- fromTag : latest-${{ github.ref_name }}
5457 toTag : ${{ github.ref }}
5558 fetchViaCommits : true
5659 failOnError : false
5760 - name : Release Latest
61+ if : env.PUBLISH
5862 uses : andelf/nightly-release@46e2d5f80828ecc5c2c3c819eb31186a7cf2156c
5963 with :
6064 tag_name : latest-${{ github.ref_name }}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ org.gradle.caching = true
66# Mod Info
77mod_id = gtceu
88mod_name = GregTech
9- mod_version = 1.6.5
9+ mod_version = 1.7.0
1010mod_description = GregTech CE Unofficial, ported from 1.12.2
1111mod_license = LGPL-3.0 license
1212mod_url = https://github.com/GregTechCEu/GregTech-Modern/
You can’t perform that action at this time.
0 commit comments