-
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force tag creations and exclude some files from the created zip.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Release | |
on: | ||
push: | ||
branches: | ||
- master | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
@@ -12,7 +12,7 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Package guidanceSteering mod | ||
run: zip -r -v FS22_guidanceSteering.zip . -x .idea data .\* zip.bat zip-builder.ps1 | ||
run: zip -r -v FS22_guidanceSteering.zip . -x .idea data .\* zip.bat zip-builder.ps1 fsdev.yml *.png | ||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
|
@@ -23,7 +23,7 @@ jobs: | |
uses: gittools/actions/gitversion/[email protected] | ||
|
||
- name: Create git tag | ||
run: git tag $GITVERSION_SEMVER | ||
run: git tag $GITVERSION_SEMVER -f | ||
|
||
- name: Push to repository | ||
run: git push --tags | ||
|