Skip to content

Commit

Permalink
fix CI bug (now removes -pre. in snapshots) + update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sylv256 committed Jul 17, 2024
1 parent 679d501 commit bcd3d95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Gluon Changelog

## `0.1.0-pre.2+1.21`
### Fixed
- Dispel disinformation denoted by dangerously dubious documentation (related to entity and level ticking)
- CI now removes `-pre.` when it is publishing snapshots (failure due to incorrect environment variable)

## `0.1.0-pre.1+1.21`
### Added
- Lifecycle Events
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (version.contains("-alpha.") && !ENV.MAVEN_URL) {
}

// Takes "1.0.0-pre.1" and changes it to "1.0.0" if we're publishing a snapshot.
if (version.contains("-pre.") && ENV.SNAPSHOT_URL) {
if (version.contains("-pre.") && ENV.SNAPSHOTS_URL) {
version = version.replace(version.substring(version.indexOf("-pre.")), "")
}

Expand Down

0 comments on commit bcd3d95

Please sign in to comment.