Skip to content

Commit

Permalink
fix: unable to tag a new version
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsManta committed Aug 27, 2024
1 parent 37664fb commit 7620498
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edge/reviseDocumentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function createPreCommitConfigSample() {
`
repos:
- repo:
${packageJSON.repository.url.replace(/\.git$/, '')}
${packageJSON.repository.url.replace(/^git\+/, '').replace(/\.git$/, '')}
rev: v${packageJSON.version}
hooks:
- id: ${id}
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"beautify"
],
"homepage": "https://thisismanta.github.io/stylus-supremacy",
"repository": "github:ThisIsManta/stylus-supremacy",
"repository": {
"type": "git",
"url": "git+https://github.com/ThisIsManta/stylus-supremacy.git"
},
"bugs": "https://github.com/ThisIsManta/stylus-supremacy/issues",
"bin": {
"stylus-supremacy": "./edge/commandLineInterface.js"
Expand Down

0 comments on commit 7620498

Please sign in to comment.