better automation...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2025-10-16 19:49:27 +03:00
parent 9b8f0ec4c6
commit a503e9d45f
2 changed files with 9 additions and 4 deletions

View File

@ -29,17 +29,20 @@ jobs:
- uses: actions/setup-node@v6
- name: Windows build dependencies
- name: Windows-specific
if: ${{ matrix.os == 'windows-latest' }}
run: |
choco install wget zip
- name: Ubuntu tweaks
- name: Ubuntu-specific
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
# fixes an issue when running npx sandboxing...
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
#- name: MacOS-specific
# if: ${{ matrix.os == 'macos-latest' }}
- name: Pre-Build
run: make clean-all dev
@ -50,6 +53,8 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
# XXX STUB
make update-release-tag
# XXX need to create if this does not exist...
#gh release create release-latest -t "TEST"
gh release upload release-latest ./dist/*

View File

@ -562,8 +562,8 @@ install: dev
# XXX STUB: move the builds to specific release tags...
.PHONY: latest-tag
latest-tag: ## Move release-latest tag to HEAD
.PHONY: update-release-tag
update-release-tag: ## Move release-latest tag to HEAD
git push origin :refs/tags/release-latest
git tag -fam "TEST" release-latest
git push origin --tags