Skip to content

Commit 1bcd29c

Browse files
committed
build: tweaks
1 parent e885162 commit 1bcd29c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: npm test
5555
- name: Release
5656
env:
57-
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GH_TOKEN }}
57+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
5858
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5959
run: |
6060
git config --global user.email ${{ secrets.GIT_EMAIL }}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@
137137
"ava": "5",
138138
"browser-sync": "latest",
139139
"concurrently": "latest",
140-
"conventional-github-releaser": "latest",
141140
"finepack": "latest",
142141
"git-authors-cli": "latest",
142+
"github-generate-release": "latest",
143143
"gulp": "latest",
144144
"gulp-autoprefixer": "latest",
145145
"gulp-concat": "latest",
@@ -166,7 +166,7 @@
166166
"scripts": {
167167
"build": "gulp build && untracked > .vercelignore",
168168
"clean": "rm -rf node_modules",
169-
"contributors": "(npx git-authors-cli && npx finepack --sort-ignore-object-at ava && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
169+
"contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
170170
"deploy": "now -e NODE_ENV=production --public && now alias && now rm unavatar --safe --yes",
171171
"dev": "TZ=UTC watchexec --clear=clear --on-busy-update=restart 'fkill \"Google Chrome for Testing\" --silent && node src/server.js'",
172172
"dev:docker": "docker build --platform linux/amd64 -t unavatar . && docker run --platform linux/amd64 --name unavatar -e NODE_ENV=staging -p 3000:3000 --rm unavatar",
@@ -180,7 +180,7 @@
180180
"pretest": "npm run lint",
181181
"pretty": "prettier-standard index.js {core,test,bin}/**/*.js --single-quote",
182182
"release": "standard-version -a",
183-
"release:github": "conventional-github-releaser -p angular",
183+
"release:github": "github-generate-release",
184184
"release:tags": "git push --follow-tags origin HEAD:master",
185185
"start": "TZ=UTC NODE_ENV=production DEBUG=\"unavatar*\" node src/server.js",
186186
"test": "ava",

0 commit comments

Comments
 (0)