Skip to content

Commit

Permalink
Fix syntax issues with release task
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricziel committed Apr 18, 2021
1 parent d9c84b3 commit 0da1120
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ jobs:
with:
ref: ${{ github.event.release.tag_name }}

# Set environment variables
- name: Export Properties
id: properties
shell: bash
run: |
PROPERTIES="$(./gradlew properties --console=plain -q)"
VERSION="$(echo "$PROPERTIES" | grep "^pluginVersion:" | cut -f2- -d ' ')"
CUSTOM_SINCE_BUILD="$(echo "$PROPERTIES" | grep "^customSinceBuild:" | cut -f2- -d ' ')"
PREFIXED_VERSION="$(echo ${CUSTOM_SINCE_BUILD}${VERSION:1})"
echo "::set-output name=prefixed-version::$PREFIXED_VERSION"
# Set environment variables
- name: Export Properties
id: properties
shell: bash
run: |
PROPERTIES="$(./gradlew properties --console=plain -q)"
VERSION="$(echo "$PROPERTIES" | grep "^pluginVersion:" | cut -f2- -d ' ')"
CUSTOM_SINCE_BUILD="$(echo "$PROPERTIES" | grep "^customSinceBuild:" | cut -f2- -d ' ')"
PREFIXED_VERSION="$(echo ${CUSTOM_SINCE_BUILD}${VERSION:1})"
echo "::set-output name=prefixed-version::$PREFIXED_VERSION"
# Publish the plugin to the Marketplace
- name: Publish Plugin
Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ subprojects {
}

publishPlugin {
channels 'nightly'
token System.getenv('IJ_REPO_TOKEN')
}

Expand Down

0 comments on commit 0da1120

Please sign in to comment.