Skip to content

Commit

Permalink
Merge pull request #47 from flucoma/pre-production
Browse files Browse the repository at this point in the history
1.0.6 preprod to prod
  • Loading branch information
tremblap authored Mar 28, 2023
2 parents 5ec8fce + 722f817 commit 963d9c8
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -101,4 +110,5 @@ jobs:
files: FluCoMa*
prerelease: true
tag_name: ${{ needs.linux.outputs.version }}
target_commitish: ${{ github.sha }}
draft: false

0 comments on commit 963d9c8

Please sign in to comment.