Skip to content

Commit

Permalink
fix(release-published.yml): change git reset command to reset to HEAD…
Browse files Browse the repository at this point in the history
…~2 instead of HEAD~ to properly reset changes
  • Loading branch information
jandroav committed Oct 5, 2023
1 parent 8173065 commit a5c1a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
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
git reset HEAD~ --hard
git reset --hard HEAD~2
- name: Get Artifact ID
id: get-artifact-id
Expand Down

0 comments on commit a5c1a1c

Please sign in to comment.