Skip to content

Commit

Permalink
chore(extension-attach-artifact-release.yml): configure Git user.name…
Browse files Browse the repository at this point in the history
… and user.email to "liquibot" and "liquibot@liquibase.org" respectively for proper identification

fix(extension-attach-artifact-release.yml): fix build-release-artifacts step to include git reset HEAD~ --hard command to undo the previous commit
chore(extension-release-published.yml): rename release-prepare-push job to release-prepare for clarity
  • Loading branch information
jandroav committed Aug 2, 2023
1 parent bac8aeb commit b3c021e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/extension-attach-artifact-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,16 @@ jobs:
chmod +x $PWD/.github/sign_artifact.sh
chmod +x $PWD/.github/upload_asset.sh
- name: Configure Git
run: |
git config user.name "liquibot"
git config user.email "liquibot@liquibase.org"
- name: Build release artifacts
id: build-release-artifacts
run: mvn -B release:clean release:prepare -Dusername=liquibot -Dpassword=$GITHUB_TOKEN -Darguments="-Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" -DreleaseVersion=${{ github.event.inputs.liquibaseVersion }} -DpushChanges=false
run: |
mvn -B release:clean release:prepare -Dusername=liquibot -Dpassword=$GITHUB_TOKEN -Darguments="-Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" -DreleaseVersion=${{ github.event.inputs.liquibaseVersion }} -DpushChanges=false
git reset HEAD~ --hard
- name: Get Artifact ID
id: get-artifact-id
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/extension-release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:

release-prepare-push:
release-prepare:
uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.3.5
secrets: inherit

Expand Down

0 comments on commit b3c021e

Please sign in to comment.