Skip to content

Commit 92eb83d

Browse files
authored
Update release process for GH assets (#31)
* Update release process for GH assets * make sure dir exists
1 parent b615661 commit 92eb83d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ typings/
9292
# Nuxt.js build / generate output
9393
.nuxt
9494
dist
95+
tmp
9596

9697
# Gatsby files
9798
.cache/

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"scripts": {
1616
"lint": "eslint --fix .",
1717
"lint:ci-deactivated": "eslint -f checkstyle -o reports/checkstyle.xml .",
18-
"build": "npm pack && gunzip -qf -c linkurious-lke-plugin-data-table-$(cat .version).tgz > lke-plugin-data-table.lke",
18+
"build": "mkdir -p tmp/github_release && npm pack && gunzip -qf -c linkurious-lke-plugin-data-table-$(cat .version).tgz > lke-plugin-data-table.lke && ln -sf lke-plugin-data-table.lke tmp/lke-plugin-data-table-v$(cat .version).lke",
1919
"plugin:tar": "scripts/postpack.js",
20-
"upload": "gh release create \"v$(cat .version)\" lke-plugin-data-table.lke",
20+
"manual-upload": "gh release create \"v$(cat .version)\" tmp/lke-plugin-data-table-v$(cat .version).lke",
2121
"bump:patch": "bump2version patch && npm version --no-git-tag-version patch",
2222
"bump:minor": "bump2version minor && npm version --no-git-tag-version minor",
2323
"bump:major": "bump2version major && npm version --no-git-tag-version major"

0 commit comments

Comments
 (0)