Skip to content

Commit

Permalink
🚧 Better Release Process WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacInsoll committed Jul 15, 2024
1 parent 07c5c37 commit da27409
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 3 deletions.
46 changes: 46 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 17 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"sqlite3": "^5.1.7"
},
"devDependencies": {
"@release-it/bumper": "^6.0.1",
"@types/archiver": "^6.0.2",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.5",
Expand All @@ -60,15 +61,28 @@
"npm run build"
],
"after:git:release": [
"docker build . -t isaacinsoll/picr:latest -t isaacinsoll.picr:${version}",
"docker push isaacinsoll/picr --all-tags"
"docker build . -t isaacinsoll/picr:latest -t isaacinsoll/picr:${version} -t ghcr.io/isaacinsoll/picr:latest -t ghcr.io/isaacinsoll/picr:${version}",
"docker push isaacinsoll/picr --all-tags",
"docker push ghcr.io/isaacinsoll/picr --all-tags"
]
},
"git": {
"commitMessage": "🚀 Release ${version}"
"commitMessage": "🚀 Release ${version}",
"commit": true,
"tag": true,
"push": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/bumper": {
"out": {
"file": "VERSION",
"type": "text/plain",
"consumeWholeFile": true
}
}
}
}
}

0 comments on commit da27409

Please sign in to comment.