Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/json/config-latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"empty_template": "",
"ignore_labels": ["ignore changelog"],
"max_pull_requests": 1000,
"max_back_track_time_days": 30
"max_back_track_time_days": 60
}
8 changes: 6 additions & 2 deletions .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ github.token }}
PUBLISH: ${{ !contains(github.event.commits[0].message, '[no-snapshot]') }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
SNAPSHOT: true
Expand All @@ -34,11 +35,13 @@ jobs:
- name: Build
run: ./gradlew build --build-cache
- name: Publish to Maven
if: github.repository_owner == 'GregTechCEu'
if: github.repository_owner == 'GregTechCEu' && env.PUBLISH
run: ./gradlew publish --build-cache
- name: Rename Jars
if: env.PUBLISH
run: for file in build/libs/*; do mv "$file" "${file/SHOT/SHOT-$(date --utc '+%Y%m%d-%H%M%S')-${{ env.VERSION_SUFFIX }}}"; done;
- name: Upload Artifacts
if: env.PUBLISH
uses: actions/upload-artifact@v4
with:
name: build-artifacts
Expand All @@ -47,14 +50,15 @@ jobs:
retention-days: 90
- name: Changelog
id: changelog
if: env.PUBLISH
uses: mikepenz/release-changelog-builder-action@v5
with:
configuration: ./.github/json/config-latest.json
fromTag: latest-${{ github.ref_name }}
toTag: ${{ github.ref }}
fetchViaCommits: true
failOnError: false
- name: Release Latest
if: env.PUBLISH
uses: andelf/nightly-release@46e2d5f80828ecc5c2c3c819eb31186a7cf2156c
with:
tag_name: latest-${{ github.ref_name }}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ org.gradle.caching = true
# Mod Info
mod_id = gtceu
mod_name = GregTech
mod_version = 1.6.5
mod_version = 1.7.0
mod_description = GregTech CE Unofficial, ported from 1.12.2
mod_license = LGPL-3.0 license
mod_url = https://github.com/GregTechCEu/GregTech-Modern/
Expand Down