Skip to content

Commit ab2745f

Browse files
committed
feat: CI/CD
1 parent ab0dc53 commit ab2745f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
run: |
4141
SNAPSHOT_REPO="\${env.MAVEN_SERVER_ID}::default::\${env.SNAPSHOT_URL}"
4242
RELEASE_REPO="\${env.MAVEN_SERVER_ID}::default::\${env.RELEASE_URL}"
43-
VERSION="\${env.VERSION}"
43+
VERSION=${{ env.VERSION }}
44+
echo "${VERSION}"
4445
mvn --batch-mode deploy -P release -Drevision="${VERSION}" -DaltDeploymentRepository="${RELEASE_REPO}" -DaltSnapshotDeploymentRepository="${SNAPSHOT_REPO}" -DskipTests
4546
env:
4647
SNAPSHOT_URL: https://oss.sonatype.org/content/repositories/snapshots

0 commit comments

Comments
 (0)