mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 04:55:10 +00:00
chore: manual set of gradle.properties
This commit is contained in:
parent
9c52adf7ec
commit
782087680d
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@ -168,15 +168,17 @@ jobs:
|
||||
java-version: 17
|
||||
distribution: temurin
|
||||
cache: gradle
|
||||
- name: Set version in gradle.properties
|
||||
if: env.POM_VERSION
|
||||
env:
|
||||
POM_VERSION: ${{ needs.workflow_config.outputs.pom_version }}
|
||||
run: |
|
||||
sed -i "s/version = .*/version = $POM_VERSION/" gradle.properties
|
||||
cat gradle.properties
|
||||
# - name: Set version in gradle.properties
|
||||
# if: env.POM_VERSION
|
||||
# env:
|
||||
# POM_VERSION: ${{ needs.workflow_config.outputs.pom_version }}
|
||||
# run: |
|
||||
# sed -i "s/version = .*/version = $POM_VERSION/" gradle.properties
|
||||
# cat gradle.properties
|
||||
- name: Generate artifacts
|
||||
run: |
|
||||
echo "print gradle.properties"
|
||||
cat gradle.properties
|
||||
gradle clean build \
|
||||
pdfJar \
|
||||
generateMetadataFileForMavenPublication generatePomFileForMavenPublication \
|
||||
@ -254,6 +256,8 @@ jobs:
|
||||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }}
|
||||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
|
||||
run: |
|
||||
echo "print gradle.properties"
|
||||
cat gradle.properties
|
||||
echo "RELEASE_VERSION=$RELEASE_VERSION"
|
||||
.github/scripts/release-snapshot.sh
|
||||
gradle --debug publish
|
||||
@ -270,6 +274,8 @@ jobs:
|
||||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_KEY }}
|
||||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }}
|
||||
run: |
|
||||
echo "print gradle.properties"
|
||||
cat gradle.properties
|
||||
echo "RELEASE_VERSION=$RELEASE_VERSION"
|
||||
.github/scripts/release.sh
|
||||
gradle --debug publish
|
||||
|
@ -1 +1 @@
|
||||
version = 1.2023.7-SNAPSHOT
|
||||
version = 1.2023.7
|
Loading…
Reference in New Issue
Block a user