Skip to content

Commit

Permalink
add CLI version extraction to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlvo1 committed Jan 28, 2025
1 parent e09715d commit afbc959
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,9 @@ jobs:
run: ./gradlew buildPlugin --info

- name: Extract CLI version
id: extract_cli_version
run: |
chmod +x ./.github/scripts/extract_cli_version.sh
ls -la
./.github/scripts/extract_cli_version.sh
echo "::set-output name=CLI_VERSION::${{ env.CLI_VERSION }}"
# Create the release or prerelease
- name: Create Release or Prerelease
Expand All @@ -160,6 +156,11 @@ jobs:
run: |
echo "::set-output name=TAG_NAME::${{ env.GH_RELEASE_TAG_NAME }}"
- name: Echo CLI version to outputs
id: extract_cli_version
run: |
echo "::set-output name=CLI_VERSION::${{ env.CLI_VERSION }}"
# Publish the plugin in marketplace
- name: Publish Plugin
env:
Expand Down

0 comments on commit afbc959

Please sign in to comment.