Skip to content

Commit

Permalink
update github actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
arildojr7 committed Mar 26, 2024
1 parent eace645 commit 4c79964
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: publish release

on:
push:
tags:
- 'v*.*.*'
tags-ignore:
- '*-snapshot'

Expand All @@ -18,7 +16,7 @@ jobs:
SIGNING_KEY_ID: ${{ secrets.GPG_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
SIGNING_KEY: ${{ secrets.GPG_FILE_BASE64 }}
VERSION: ${{ github.event.release.tag_name }}
VERSION: ${{ github.event.release.tag_name }} | cut -c 2- # remove the "v" from tag

runs-on: ubuntu-latest
steps:
Expand All @@ -39,8 +37,8 @@ jobs:
echo ${SIGNING_KEY} | base64 -d > ~/.gradle/secring.gpg
echo "gradle.publish.key=${GRADLE_PLUGIN_KEY}" >> ~/.gradle/gradle.properties
echo "gradle.publish.secret=${GRADLE_PLUGIN_SECRET}" >> ~/.gradle/gradle.properties
sed -i "" "/LIB_VERSION/s/=.*$/=${VERSION}/" gradle.properties
sed -i "" "/PLUGIN_VERSION/s/=.*$/=${VERSION}/" gradle.properties
sed -i "" "/LIB_VERSION/s/=.*$/=${VERSION}/" ./gradle.properties
sed -i "" "/PLUGIN_VERSION/s/=.*$/=${VERSION}/" ./gradle.properties
- name: Publish iris-mock
run: ./gradlew :iris-mock:publish
Expand Down

0 comments on commit 4c79964

Please sign in to comment.