-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure tag action is correctly configured
- Loading branch information
Dominik Piatek
committed
Aug 5, 2022
1 parent
ef22008
commit 9c99c78
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
ref: "main" | ||
fetch-depth: 0 | ||
- name: "Get latest tag" | ||
id: latesttag | ||
uses: "WyriHaximus/github-action-get-previous-tag@v1" | ||
|
@@ -31,9 +32,9 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Action" | ||
./scripts/update-versions.sh ${{ steps.previoustag.outputs.tag }} | ||
./scripts/update-versions.sh ${{ steps.latesttag.outputs.tag }} | ||
shell: bash | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
branch: update-versions-to-${{ steps.previoustag.outputs.tag }} | ||
branch: update-versions-to-${{ steps.latesttag.outputs.tag }} |