Skip to content

Commit 1d32e42

Browse files
committed
Publish for testing
1 parent 5cd6e3a commit 1d32e42

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/actions.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
with:
1818
distribution: 'temurin'
1919
java-version: '21'
20-
- name: Build with Gradle
21-
run: ./gradlew build
20+
# - name: Build with Gradle
21+
# run: ./gradlew build
2222
- name: Upload Release Assets
2323
if: startsWith(github.ref, 'refs/tags/v')
2424
uses: svenstaro/upload-release-action@v2
@@ -48,10 +48,11 @@ jobs:
4848
-PsonatypeUsername=${{ secrets.SONATYPE_USER }} \
4949
-PsonatypePassword=${{ secrets.SONATYPE_PASSWORD }}
5050
- name: Push Docker Image to DockerHub
51-
if: startsWith(github.ref, 'refs/tags/v')
51+
# TODO: uncomment before merging
52+
# if: startsWith(github.ref, 'refs/tags/v')
5253
run: |
53-
./gradlew :agent:pushOciImage :agent:pushLegacyOciImage
54-
./gradlew :agent:pushOciImage :agent:pushLegacyOciImage -PociImageTag=latest
54+
./gradlew :agent:pushOciImage --registry=dockerHub
55+
./gradlew :agent:pushOciImage --registry=dockerHub -PociImageTag=latest
5556
env:
5657
ORG_GRADLE_PROJECT_dockerHubUsername: ${{ secrets.DOCKERHUB_USER }}
5758
ORG_GRADLE_PROJECT_dockerHubPassword: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -91,5 +92,3 @@ jobs:
9192
format: 'JACOCO'
9293
message: 'Coverage Windows'
9394
files: '**/jacocoTestReport.xml'
94-
95-

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ plugins {
44

55
group = "com.teamscale"
66

7-
val appVersion by extra("36.4.1")
7+
val appVersion by extra("36.4.1-rc1")
88

9-
val snapshotVersion = appVersion + if (VersionUtils.isTaggedRelease()) "" else "-SNAPSHOT"
9+
val snapshotVersion = appVersion //+ if (VersionUtils.isTaggedRelease()) "" else "-SNAPSHOT"
1010

1111
allprojects {
1212
version = snapshotVersion

0 commit comments

Comments
 (0)