Skip to content

Commit

Permalink
Turns off notarize for macos, turns release tags back on. Adds alpha …
Browse files Browse the repository at this point in the history
…option to pre-release (#8)
  • Loading branch information
FiniteSingularity authored Jun 30, 2024
1 parent 5319b3c commit 8b29107
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/build-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
push)
config_data=('codesign:true' 'notarize:false' 'package:true' 'config:RelWithDebInfo')
if [[ ${GITHUB_REF_NAME} =~ [0-9]+.[0-9]+.[0-9]+(-(rc|beta).+)? ]]; then
config_data[1]='notarize:true'
config_data[1]='notarize:false'
config_data[3]='config:Release'
fi
;;
Expand Down Expand Up @@ -270,19 +270,6 @@ jobs:
target: x64
config: ${{ needs.check-event.outputs.config }}

# - name: Package Plugin 📀
# uses: ./.github/actions/package-plugin
# with:
# target: x64
# config: ${{ needs.check-event.outputs.config }}
# package: ${{ fromJSON(needs.check-event.outputs.package) }}

# - name: Upload Artifacts 📡
# uses: actions/upload-artifact@v4
# with:
# name: ${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-windows-x64-${{ needs.check-event.outputs.commitHash }}
# path: ${{ github.workspace }}/release/${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-windows-x64*.*

windows-package:
name: Package Windows (no signing) 📀
if: github.event_name == 'pull_request'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- master
- main
- 'release/**'
# tags:
# - '*'
tags:
- '*'
permissions:
contents: write
concurrency:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
echo 'prerelease=false' >> $GITHUB_OUTPUT
echo "version=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT
;;
+([0-9]).+([0-9]).+([0-9])-@(beta|rc)*([0-9]) )
+([0-9]).+([0-9]).+([0-9])-@(alpha|beta|rc)*([0-9]) )
echo 'validTag=true' >> $GITHUB_OUTPUT
echo 'prerelease=true' >> $GITHUB_OUTPUT
echo "version=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 8b29107

Please sign in to comment.