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 f4383dd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 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
10 changes: 5 additions & 5 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,17 +118,17 @@
{
"assets": [
{
"path": "dist/empty/*.html",
"path": "dist/empty/",
"name": "Tidme${nextRelease.gitTag}.zip",
"label": "Tidme (${nextRelease.gitTag})"
},
{
"path": "dist/manual/*.html",
"path": "dist/manual/",
"name": "Tidme-Manual${nextRelease.gitTag}.zip",
"label": "Tidme Manual (${nextRelease.gitTag})"
},
{
"path": "dist/library/recipes/library/tiddlers/*.json",
"path": "dist/library/recipes/library/tiddlers/",
"name": "Tidme-Plugin${nextRelease.gitTag}.zip",
"label": "Tidme Plugin (${nextRelease.gitTag})"
}
Expand All @@ -137,4 +137,4 @@
]
]
}
}
}

0 comments on commit f4383dd

Please sign in to comment.