Skip to content

Commit

Permalink
Release Notes 4.0.0-beta1 (#3804)
Browse files Browse the repository at this point in the history
  • Loading branch information
stwlam authored Sep 6, 2022
1 parent 752ccb5 commit 6c57242
Show file tree
Hide file tree
Showing 5 changed files with 1,856 additions and 1,758 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: PF2e System CD

on:
workflow_dispatch:
branches: [release-v9]
branches: [release]

jobs:
release:
Expand All @@ -29,7 +29,6 @@ jobs:
run: |
SYSTEM_VERSION=$(grep -oP '(?<="version": ")[^"]+' dist/system.json | tr -d '\n')
echo "systemVersion=$SYSTEM_VERSION" >> $GITHUB_ENV
perl -pi -e 's/(?<="version": )"([^"]+)"/"$1.$ENV{GITHUB_RUN_NUMBER}"/' dist/system.json
- name: Zip Files
working-directory: ./dist
Expand All @@ -39,22 +38,10 @@ jobs:
id: create_version_release
uses: ncipollo/release-action@v1
with:
name: ${{ env.systemVersion }}.${{ github.run_number }}
name: ${{ env.systemVersion }}
allowUpdates: false
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './dist/system.json,./dist/pf2e.zip'
tag: ${{ env.systemVersion }}.${{ github.run_number }}

- name: Create Latest Release
id: create_latest_release
uses: ncipollo/release-action@v1
with:
name: Latest
allowUpdates: true
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: './dist/system.json,./dist/pf2e.zip'
tag: latest
tag: ${{ env.systemVersion }}
Loading

0 comments on commit 6c57242

Please sign in to comment.