Skip to content

Commit

Permalink
chore(package.json): add dist directory to release
Browse files Browse the repository at this point in the history
  • Loading branch information
oflg committed Dec 24, 2023
1 parent 590ec3f commit 9a89d9a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ jobs:
- name: Build library and static website
run: npm run publish

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tidme",
"version": "1.17.1",
"version": "1.17.2",
"description": " Lifelong knowledge, deep in mind.",
"scripts": {
"dev": "tiddlywiki-plugin-dev dev",
Expand Down Expand Up @@ -118,18 +118,18 @@
{
"assets": [
{
"path": "dist/empty/*.html",
"name": "Tidme${nextRelease.gitTag}.zip",
"path": "dist/empty/**",
"name": "Tidme${nextRelease.gitTag}",
"label": "Tidme (${nextRelease.gitTag})"
},
{
"path": "dist/manual/*.html",
"name": "Tidme-Manual${nextRelease.gitTag}.zip",
"path": "dist/manual/**",
"name": "Tidme-Manual${nextRelease.gitTag}",
"label": "Tidme Manual (${nextRelease.gitTag})"
},
{
"path": "dist/library/recipes/library/tiddlers/*.json",
"name": "Tidme-Plugin${nextRelease.gitTag}.zip",
"path": "dist/library/recipes/library/tiddlers/**",
"name": "Tidme-Plugin${nextRelease.gitTag}",
"label": "Tidme Plugin (${nextRelease.gitTag})"
}
]
Expand Down

0 comments on commit 9a89d9a

Please sign in to comment.