Skip to content

Commit

Permalink
Rename GITHUB_VERSION to VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
ed0906 committed Mar 25, 2024
1 parent 500d0e1 commit ab92d44
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_VERSION: ${{ steps.get_version.outputs.VERSION }}
VERSION: ${{ steps.get_version.outputs.VERSION }}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "io.camassia"
version = System.getenv("GITHUB_VERSION")
version = System.getenv("VERSION")

subprojects {
apply {
Expand Down
8 changes: 4 additions & 4 deletions spring-boot-test-dbunit/Publishing.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ This will trigger the [release workflow](https://github.com/camassia-io/spring-b

## Publish to Maven Local

This just requires the GITHUB_VERSION
This just requires the VERSION

`GITHUB_VERSION=xxx-SNAPSHOT ./gradlew publishToMavenLocal`
`VERSION=xxx-SNAPSHOT ./gradlew publishToMavenLocal`

## Publish to Nexus / Maven Central

Expand All @@ -21,7 +21,7 @@ This just requires the GITHUB_VERSION
- `GPG_SIGNING_PASSPHRASE`: See Signing Step 1
- `OSSRH_USERNAME`: Sonatype Nexus Username
- `OSSRH_PASSWORD`: Sonatype Nexus Password
- `GITHUB_VERSION`: The version number, usually of a Github Release
- `VERSION`: The version number, usually of a Github Release

### Signing Keys

Expand Down Expand Up @@ -64,7 +64,7 @@ The below copies the private key to your clipboard

### Publishing

Ensure the `GITHUB_VERSION` environment variable is set as required
Ensure the `VERSION` environment variable is set as required

`./gradlew clean publishToSonatype closeAndReleaseStagingRepositories`

Expand Down
2 changes: 1 addition & 1 deletion spring-boot-test-dbunit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ publishing {
create<MavenPublication>("maven") {
groupId = "io.camassia"
artifactId = "spring-boot-test-dbunit"
version = System.getenv("GITHUB_VERSION")
version = System.getenv("VERSION")
from(components["kotlin"])
artifact(tasks.kotlinSourcesJar)
artifact(tasks.getByName("javadocJar"))
Expand Down

0 comments on commit ab92d44

Please sign in to comment.