mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-11-18 13:58:27 -06:00
[F] Release - Support prerelease tag on npm publish and fix repo url
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -391,7 +391,12 @@ jobs:
|
||||
|
||||
- name: Publish package
|
||||
if: steps.npm-state.outputs.exists != 'true'
|
||||
run: npm publish --provenance
|
||||
run: |
|
||||
if [[ "${{ needs.metadata.outputs.version }}" == *-* ]]; then
|
||||
npm publish --provenance --tag next
|
||||
else
|
||||
npm publish --provenance
|
||||
fi
|
||||
|
||||
publish-cargo:
|
||||
name: Publish to crates.io
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "Updated neofetch",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hykilpikonna/hyfetch"
|
||||
"url": "git+https://github.com/hykilpikonna/hyfetch.git"
|
||||
},
|
||||
"bin": {
|
||||
"neowofetch": "neofetch"
|
||||
|
||||
Reference in New Issue
Block a user