mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-25 23:24:14 +03:00
Fix release workflow
This commit is contained in:
1 parent
0651adea5b
commit
64b08f39fa
2 files changed
+10
-10
No files matched your search
@@ -27,30 +27,30 @@ jobs:
|
||||
run: npm ci
|
||||
|
||||
- name: Build project
|
||||
run: npm run build
|
||||
run: npm run build:static
|
||||
continue-on-error: true
|
||||
|
||||
- name: Create tarball
|
||||
- name: Create archives
|
||||
run: |
|
||||
tar -czf networking-toolbox-${{ github.ref_name }}.tar.gz \
|
||||
mkdir -p dist
|
||||
tar -czf dist/networking-toolbox-${{ github.ref_name }}.tar.gz \
|
||||
--exclude=node_modules \
|
||||
--exclude=.git \
|
||||
--exclude=.github \
|
||||
--exclude=tests \
|
||||
--exclude=playwright-report \
|
||||
--exclude=coverage \
|
||||
--exclude=dist \
|
||||
.
|
||||
|
||||
- name: Create zip
|
||||
run: |
|
||||
zip -r networking-toolbox-${{ github.ref_name }}.zip . \
|
||||
zip -r dist/networking-toolbox-${{ github.ref_name }}.zip . \
|
||||
-x "node_modules/*" \
|
||||
-x ".git/*" \
|
||||
-x ".github/*" \
|
||||
-x "tests/*" \
|
||||
-x "playwright-report/*" \
|
||||
-x "coverage/*" \
|
||||
-x "*.tar.gz"
|
||||
-x "dist/*"
|
||||
|
||||
- name: Generate changelog
|
||||
id: changelog
|
||||
@@ -108,8 +108,8 @@ jobs:
|
||||
- 🐛 [Report Issues](https://github.com/${{ github.repository }}/issues)
|
||||
- 🌐 [Live Demo](https://networking-toolbox.as93.net)
|
||||
files: |
|
||||
networking-toolbox-${{ github.ref_name }}.tar.gz
|
||||
networking-toolbox-${{ github.ref_name }}.zip
|
||||
dist/networking-toolbox-${{ github.ref_name }}.tar.gz
|
||||
dist/networking-toolbox-${{ github.ref_name }}.zip
|
||||
draft: false
|
||||
prerelease: ${{ contains(github.ref_name, '-rc') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-alpha') }}
|
||||
generate_release_notes: false
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "networking-toolbox",
|
||||
"private": true,
|
||||
"version": "0.2.8",
|
||||
"version": "0.2.9",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
||||
Reference in new issue
Block a user