Skip to content

Commit

Permalink
fix: versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortezz committed Aug 24, 2024
1 parent 40c0723 commit eb98e71
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/version_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
git config --global user.name "OscarLeBot"
git config --global user.email "[email protected]"
cp ./build.gradle.kts ./old.build.gradle.kts && sed 's/version = "${{ env.PREVIOUS_VERSION }}"/version = ${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}.${{ env.VERSION_PATCH }}"/' ./old.build.gradle.kts > ./app/package.json && rm ./old.build.gradle.kts
cp ./build.gradle.kts ./old.build.gradle.kts && sed 's/version = "${{ env.PREVIOUS_VERSION }}"/version = ${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}.${{ env.VERSION_PATCH }}"/' ./old.build.gradle.kts > ./build.gradle.kts && rm ./old.build.gradle.kts
git add .
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ val nexusPass = System.getenv()["NEXUS_PASS"]
val isInCi = nexusUser != null && nexusPass != null

group = "fr.ekalia.injector"
version = "1.0.0" + if (isRelease) "" else "-SNAPSHOT"
version = "1.0.1" + if (isRelease) "" else "-SNAPSHOT"

repositories {
mavenCentral()
Expand Down
58 changes: 0 additions & 58 deletions old.build.gradle.kts

This file was deleted.

0 comments on commit eb98e71

Please sign in to comment.