Skip to content

Commit 631270e

Browse files
committed
fix release version
1 parent 3f2d3cb commit 631270e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/deploy-plugin-portal.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy
1+
name: Deploy gradle to plugin portal
22

33
on:
44
workflow_dispatch:
@@ -22,5 +22,5 @@ jobs:
2222
java-version: 17
2323
distribution: corretto
2424

25-
- name: Mac deploy
26-
run: ./gradlew publishPlugins -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET --no-daemon --stacktrace
25+
- name: Deploy
26+
run: ./gradlew publishPlugins -Prelease.version=$GITHUB_REF_NAME -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET --no-daemon --stacktrace

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222
java-version: 17
2323
distribution: corretto
2424

25-
- name: Mac deploy
26-
run: ./gradlew publish --no-daemon --stacktrace
25+
- name: Deploy
26+
run: ./gradlew publish -Prelease.version=$GITHUB_REF_NAME --no-daemon --stacktrace

0 commit comments

Comments
 (0)