Skip to content

Commit

Permalink
Merge pull request #362 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 b6a3085 + 64d7f48 commit e748875
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 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/max@main
with:
branch: origin/production
branch: origin/${{ github.ref_name }}

- uses: actions/upload-artifact@v3
with:
Expand All @@ -26,7 +26,7 @@ jobs:
- uses: flucoma/actions/env@main
- uses: flucoma/actions/max@main
with:
branch: origin/production
branch: origin/${{ github.ref_name }}

- name: sign and notarise
uses: flucoma/actions/distribution@main
Expand All @@ -46,7 +46,7 @@ jobs:
path: release-packaging/FluidCorpusManipulation/

- 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 @@ -69,6 +69,14 @@ jobs:

- name: zip
run: zip -r FluCoMa-Max-"${{ needs.macbuild.outputs.version }}".zip "FluidCorpusManipulation"

- name: delete pre-existing release
uses: dev-drprasad/[email protected]
with:
delete_release: true # default: false
tag_name: ${{ needs.macbuild.outputs.version }} # tag name to delete
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: package and upload
uses: softprops/action-gh-release@v1
Expand All @@ -78,4 +86,5 @@ jobs:
files: FluCoMa*
prerelease: true
tag_name: ${{ needs.macbuild.outputs.version }}
target_commitish: ${{ github.sha }}
draft: false

0 comments on commit e748875

Please sign in to comment.