Skip to content

Commit

Permalink
chore: move to push based releases
Browse files Browse the repository at this point in the history
  • Loading branch information
EnergoStalin committed Nov 24, 2024
1 parent 5fcb7c9 commit c9f0625
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 48 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/release.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions .nvim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ overseer.register_template({
})

overseer.run_template({ name = 'dev' })

vim.fn.writefile({ "pnpm build", "git add index.user.js" }, ".git/hooks/pre-commit")
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
},
"scripts": {
"dev": "ENVIRONMENT=development tsup --watch",
"build": "tsup",
"build": "tsup && cp -f build/index.user.js .",
"serve": "http-server build -a 127.0.0.1 -d false -i false -c-1 -o index.proxy.user.js",
"lint": "eslint src/**/*.ts src/*.ts",
"lint:fix": "eslint --fix src/**/*.ts src/*.ts",
"release": "npm run build && cp -f build/index.user.js . && git add index.user.js && npm version --force -m 'chore(release): %s' --",
"release": "npm run build && git add index.user.js && npm version --force -m 'chore(release): %s' --",
"postversion": "git push & git push --tags"
},
"keywords": [],
Expand Down

0 comments on commit c9f0625

Please sign in to comment.