1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-29 00:06:34 +00:00

chore: manual set of gradle.properties

This commit is contained in:
Arnaud Roques 2023-05-12 21:16:44 +02:00
parent 9c52adf7ec
commit 782087680d
2 changed files with 14 additions and 8 deletions

View File

@ -168,15 +168,17 @@ jobs:
java-version: 17 java-version: 17
distribution: temurin distribution: temurin
cache: gradle cache: gradle
- name: Set version in gradle.properties # - name: Set version in gradle.properties
if: env.POM_VERSION # if: env.POM_VERSION
env: # env:
POM_VERSION: ${{ needs.workflow_config.outputs.pom_version }} # POM_VERSION: ${{ needs.workflow_config.outputs.pom_version }}
run: | # run: |
sed -i "s/version = .*/version = $POM_VERSION/" gradle.properties # sed -i "s/version = .*/version = $POM_VERSION/" gradle.properties
cat gradle.properties # cat gradle.properties
- name: Generate artifacts - name: Generate artifacts
run: | run: |
echo "print gradle.properties"
cat gradle.properties
gradle clean build \ gradle clean build \
pdfJar \ pdfJar \
generateMetadataFileForMavenPublication generatePomFileForMavenPublication \ generateMetadataFileForMavenPublication generatePomFileForMavenPublication \
@ -254,6 +256,8 @@ jobs:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }} ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
run: | run: |
echo "print gradle.properties"
cat gradle.properties
echo "RELEASE_VERSION=$RELEASE_VERSION" echo "RELEASE_VERSION=$RELEASE_VERSION"
.github/scripts/release-snapshot.sh .github/scripts/release-snapshot.sh
gradle --debug publish gradle --debug publish
@ -270,6 +274,8 @@ jobs:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }} ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
run: | run: |
echo "print gradle.properties"
cat gradle.properties
echo "RELEASE_VERSION=$RELEASE_VERSION" echo "RELEASE_VERSION=$RELEASE_VERSION"
.github/scripts/release.sh .github/scripts/release.sh
gradle --debug publish gradle --debug publish

View File

@ -1 +1 @@
version = 1.2023.7-SNAPSHOT version = 1.2023.7