Skip to content

Commit

Permalink
feat: auto tag release when package.json version change
Browse files Browse the repository at this point in the history
Signed-off-by: seven <[email protected]>
  • Loading branch information
Blankll committed Jan 22, 2024
1 parent 539f618 commit 96d04d5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: release
on:
push:
branches:
- master
paths:
- package.json
jobs:
tag-npm-release:
name: Tag new npm package releases
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: neverendingqs/gh-action-tag-on-npm-version@master
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/components/download.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const downloadFn = async (event) => {
// const links = await getLatestLinks();
// const link = links.find((item) => item.name.includes(platform[window.navigator.platform]));
// console.log('downloadFn', fetch(link.url))
console.log('downloadFn',window.navigator)
console.log('downloadFn',await navigator.userAgentData.getHighEntropyValues(['architecture']))
console.log('downloadFnJson',{ nv: JSON.stringify(window.navigator)})
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dockit-site",
"version": "1.0.0",
"version": "0.0.4",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 96d04d5

Please sign in to comment.