-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
16 additions
and
9 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 |
---|---|---|
|
@@ -13,11 +13,16 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Parse version | ||
id: parse_version | ||
run: echo VERSION=`jq .version package.json -r` >> $GITHUB_OUTPUT | ||
|
||
- name: Update PKGBUILD for AUR | ||
run: | | ||
sed -i 's/pkgname=flood/pkgname=nodejs-flood/' ./distribution/archlinux/flood/PKGBUILD | ||
sed -i 's/replace-with-your-name/Jesse Chan/' ./distribution/archlinux/flood/PKGBUILD | ||
sed -i 's/to-be-determined@tbd/[email protected]/' ./distribution/archlinux/flood/PKGBUILD | ||
sed -i 's/version-to-be-replaced/${{ steps.parse_version.outputs.VERSION }}/' ./distribution/archlinux/flood/PKGBUILD | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
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 |
---|---|---|
|
@@ -44,13 +44,15 @@ jobs: | |
- name: Copy flood-bin distribution files | ||
run: cp -rf distribution/debian/flood-bin/* . | ||
|
||
- name: Update BUILD | ||
run: sed -i 's/replace-with-your-name <to-be-determined@tbd>/Jesse Chan <[email protected]>/' ./BUILD | ||
|
||
- name: Parse version | ||
id: parse_version | ||
run: echo VERSION=`jq .version package.json -r` >> $GITHUB_OUTPUT | ||
|
||
- name: Update BUILD | ||
run: | | ||
sed -i 's/replace-with-your-name <to-be-determined@tbd>/Jesse Chan <[email protected]>/' ./BUILD | ||
sed -i 's/version-to-be-replaced/${{ steps.parse_version.outputs.VERSION }}/' ./BUILD | ||
- name: Extract Flood tarball | ||
run: | | ||
npm pack flood@${{ steps.parse_version.outputs.VERSION }} | ||
|
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
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
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
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