Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Dec 13, 2023
1 parent 641ad6c commit ee8d305
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o dasel && chmod +x dasel && mv ./dasel /usr/local/bin/dasel
- name: Parse published sdk version
run: |
echo "PUBLISHED_SDK_VERSION=$(dasel -f gradle/libs.versions.toml '.versions.restate')" >> "$GITHUB_ENV"
echo "PUBLISHED_SDK_VERSION=$(dasel -f gradle/libs.versions.toml .versions.restate)" >> "$GITHUB_ENV"
# Dry run
- name: Publish dry-run
Expand All @@ -45,6 +45,7 @@ jobs:
MAVEN_CENTRAL_GPG_PASSPHRASE: ${{ secrets.MAVEN_CENTRAL_GPG_PASSPHRASE }}
with:
arguments: publishToSonatype

- name: Release staging area
uses: gradle/gradle-build-action@v2
if: !contains(env.PUBLISHED_SDK_VERSION, '-SNAPSHOT')
Expand Down

0 comments on commit ee8d305

Please sign in to comment.