Skip to content

Commit 0a6b24f

Browse files
committed
Update release title to have version rather than date
1 parent 12db0ef commit 0a6b24f

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@ jobs:
2121
run: |
2222
set -euo pipefail
2323
# Always use the same JAR name
24-
JAR_NAME="btw-translations.jar"
24+
JAR_NAME="btw-translation.jar"
2525
echo "JAR_NAME=$JAR_NAME" >> $GITHUB_ENV
2626
27-
# Human-readable nightly release title
28-
NIGHTLY_DATE=$(date -u +"%b %dth %Y")
29-
RELEASE_TITLE="BTW Translations Nightly $NIGHTLY_DATE"
30-
echo "RELEASE_TITLE=$RELEASE_TITLE" >> $GITHUB_ENV
31-
3227
- name: Inject version into fabric.mod.json
3328
run: |
3429
set -euo pipefail
@@ -50,6 +45,10 @@ jobs:
5045
jq --arg v "$INJECTED_VERSION" '.version = $v' fabric.mod.json > fabric.mod.json.tmp
5146
mv fabric.mod.json.tmp fabric.mod.json
5247
48+
# Set release title using version
49+
RELEASE_TITLE="BTW Translations Nightly $INJECTED_VERSION"
50+
echo "RELEASE_TITLE=$RELEASE_TITLE" >> $GITHUB_ENV
51+
5352
- name: Create JAR of repository
5453
run: |
5554
set -euo pipefail

0 commit comments

Comments
 (0)