Skip to content

Commit

Permalink
fix(release-published.yml): fix git reset command to reset to the cor…
Browse files Browse the repository at this point in the history
…rect commit

fix(release-published.yml): remove unnecessary git reset command
  • Loading branch information
jandroav committed Oct 5, 2023
1 parent 154e50c commit 72f8c98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +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 --hard HEAD~1
- name: Get Artifact ID
id: get-artifact-id
Expand Down Expand Up @@ -76,7 +77,7 @@ jobs:
- name: Prepare Maven Release
run: |
git reset --hard HEAD~2
git reset --hard HEAD~1
mvn -B build-helper:parse-version versions:set 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" \
Expand Down

0 comments on commit 72f8c98

Please sign in to comment.