Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
config: prepare release 1.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-cristea committed Jun 21, 2021
1 parent c469989 commit 1de03da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/java-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
working-directory: .
run: |
./gradlew setVersion -P version=$(echo "${{ github.ref }}" | sed -e "s,^refs/tags/,,")
./gradlew release --info --stacktrace
./gradlew build test release --info --stacktrace
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repositories {
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
implementation("org.calypsonet.terminal:calypsonet-terminal-reader-java-api:1.0-SNAPSHOT") { isChanging = true }
implementation("org.calypsonet.terminal:calypsonet-terminal-reader-java-api:1.0-rc1")
testImplementation("junit:junit:4.13.2")
testImplementation("org.assertj:assertj-core:3.15.0")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public static void beforeClass() throws Exception {
@Test
public void versionIsCorrectlyWritten() {
String apiVersion = CalypsoApiProperties.VERSION;
assertThat(apiVersion).isEqualTo(libVersion).matches("\\d+\\.\\d+");
assertThat(apiVersion).matches("\\d+\\.\\d+");
assertThat(libVersion).startsWith(apiVersion);
}
}

0 comments on commit 1de03da

Please sign in to comment.