We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7107773 commit 0ddebfbCopy full SHA for 0ddebfb
.github/workflows/release.yml
@@ -29,11 +29,19 @@ jobs:
29
java-version: 11
30
cache: gradle
31
32
+ - name: Export Properties
33
+ id: properties
34
+ shell: bash
35
+ run: |
36
+ PROPERTIES="$(./gradlew properties --console=plain -q)"
37
+ VERSION="$(echo "$PROPERTIES" | grep "^projectVersion:" | cut -f2- -d ' ')"
38
+ echo "SPP_RELEASE_VERSION=${VERSION/-SNAPSHOT/}" >> $GITHUB_ENV
39
+
40
# Publish the plugin to the Marketplace
41
- name: Publish Plugin
42
env:
43
PUBLISH_TOKEN: ${{ secrets.JETBRAINS_PUBLISH_TOKEN }}
- run: ./gradlew publishPlugin
44
+ run: ./gradlew publishPlugin -PprojectVersion=$SPP_RELEASE_VERSION
45
46
# Upload artifact as a release asset
47
- name: Upload Release Asset
0 commit comments