Skip to content

Commit 7ae999e

Browse files
committed
Turn off auto-v releases and clean up nightly builder
1 parent 4833e6c commit 7ae999e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/tagged-release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
# Creates releases on Curseforge and Github Releases based on v* tags
22
name: Tagged Commit Release
33

4-
on:
5-
push:
6-
tags: v*
7-
workflow_dispatch:
4+
on: workflow_dispatch
85

96
jobs:
107
vars:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ apply plugin: "net.minecraftforge.gradle"
2121
def semver = 'git describe --tags --match v*'.execute().text.trim().split('-')[0]
2222
def gitCommitHash = 'git rev-parse --verify --short HEAD'.execute().text.trim()
2323

24-
def nightlyVersion = "${semver}-nightly.${"git describe --tags --match ${semver}*".execute().text.trim().split('-')[2]}+${gitCommitHash}"
24+
def nightlyVersion = "${semver}-nightly.${"git describe --tags --match ${semver}*".execute().text.trim().split('-')[1]}+${gitCommitHash}"
2525
def isRelease = (System.getenv("CM_RELEASE") ?: "false").equalsIgnoreCase("true")
2626

2727
task getBuildInfo() {

0 commit comments

Comments
 (0)