-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from flucoma/pre-production
1.0.6 preprod to prod
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
- uses: flucoma/actions/env@main | ||
- uses: flucoma/actions/cli@main | ||
with: | ||
branch: origin/production | ||
branch: origin/${{ github.ref_name }} | ||
|
||
- name: compress archive | ||
run: 7z a FluCoMa-CLI-Windows.zip FluidCorpusManipulation | ||
|
@@ -28,7 +28,7 @@ jobs: | |
- uses: flucoma/actions/env@main | ||
- uses: flucoma/actions/cli@main | ||
with: | ||
branch: origin/production | ||
branch: origin/${{ github.ref_name }} | ||
|
||
- name: sign binaries | ||
uses: flucoma/actions/distribution@main | ||
|
@@ -58,7 +58,7 @@ jobs: | |
- uses: flucoma/actions/env@main | ||
- uses: flucoma/actions/cli@main | ||
with: | ||
branch: origin/production | ||
branch: origin/${{ github.ref_name }} | ||
|
||
- name: compress archive | ||
run: tar -zcvf FluCoMa-CLI-Linux.tar.gz FluidCorpusManipulation | ||
|
@@ -72,7 +72,7 @@ jobs: | |
- run: ls -r | ||
|
||
- id: get-version | ||
run: echo "::set-output name=version::$(cat flucoma.version.rc)" | ||
run: echo "version=$(cat flucoma.version.rc)" >> $GITHUB_OUTPUT | ||
working-directory: build/_deps/flucoma-core-src | ||
|
||
release: | ||
|
@@ -93,6 +93,15 @@ jobs: | |
name: winbuild | ||
|
||
#### UPLOAD RELEASE #### | ||
|
||
- name: delete pre-existing release | ||
uses: dev-drprasad/[email protected] | ||
with: | ||
delete_release: true # default: false | ||
tag_name: ${{ needs.linux.outputs.version }} # tag name to delete | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: package and upload | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
|
@@ -101,4 +110,5 @@ jobs: | |
files: FluCoMa* | ||
prerelease: true | ||
tag_name: ${{ needs.linux.outputs.version }} | ||
target_commitish: ${{ github.sha }} | ||
draft: false |