fix(releases): a few more tweaks to the releasing
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
"docker": "powershell -File ./scripts/dockerBuild.ps1",
|
"docker": "powershell -File ./scripts/dockerBuild.ps1",
|
||||||
"release:createZip": "powershell -File ./scripts/release.ps1",
|
"release:createZip": "powershell -File ./scripts/release.ps1",
|
||||||
"release:gitea": "node ./scripts/create-gitea-release.js",
|
"release:gitea": "node ./scripts/create-gitea-release.js",
|
||||||
|
"release":"release-it",
|
||||||
"commit": "cz"
|
"commit": "cz"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"npm": false,
|
"npm": false,
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"after:bump": "echo Version bumped to ${version}",
|
"after:bump": "echo Version bumped to ${version}",
|
||||||
"after:release": "curl -X POST -H \"Authorization: token ${GITEA_TOKEN}\" -F name=release-${version}.zip -F attachment=@releases/release-${version}.zip https://${GITEA_URL}/api/v1/repos/${GITEA_USERNAME}/${GITEA_REPO}/releases/assets?tag=v${version}"
|
"after:release": "node ./scripts/create-gitea-release.js ${version}"
|
||||||
},
|
},
|
||||||
"github": false,
|
"github": false,
|
||||||
"plugins": {
|
"plugins": {
|
||||||
|
|||||||
@@ -72,7 +72,9 @@ $filesToInclude = @(
|
|||||||
"frontend\.tanstack",
|
"frontend\.tanstack",
|
||||||
"frontend\.output",
|
"frontend\.output",
|
||||||
"frontend\public",
|
"frontend\public",
|
||||||
"package.json"
|
"package.json",
|
||||||
|
"CHANGELOG.md",
|
||||||
|
"README.md"
|
||||||
)
|
)
|
||||||
|
|
||||||
Compress-Archive -Path $filesToInclude -DestinationPath $zipPath
|
Compress-Archive -Path $filesToInclude -DestinationPath $zipPath
|
||||||
|
|||||||
Reference in New Issue
Block a user