build: working on Gitea release process
This commit is contained in:
parent
b374f1948f
commit
ea537d7e92
4 changed files with 475 additions and 415 deletions
881
package-lock.json
generated
881
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -36,14 +36,12 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^15.0.0",
|
"@commitlint/cli": "^15.0.0",
|
||||||
"@commitlint/config-conventional": "^15.0.0",
|
"@commitlint/config-conventional": "^15.0.0",
|
||||||
|
"@saithodev/semantic-release-gitea": "^2.1.0",
|
||||||
"@semantic-release/changelog": "^6.0.1",
|
"@semantic-release/changelog": "^6.0.1",
|
||||||
"@semantic-release/exec": "^6.0.3",
|
"@semantic-release/exec": "^6.0.3",
|
||||||
"@semantic-release/git": "^10.0.1",
|
"@semantic-release/git": "^10.0.1",
|
||||||
"@semantic-release/gitlab": "^7.0.4",
|
|
||||||
"@semantic-release/npm": "^8.0.3",
|
"@semantic-release/npm": "^8.0.3",
|
||||||
"@semantic-release/release-notes-generator": "^10.0.3",
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
||||||
"commitizen": "^2.10.1",
|
|
||||||
"cz-conventional-changelog": "^2.1.0",
|
|
||||||
"husky": "^7.0.2",
|
"husky": "^7.0.2",
|
||||||
"markdowny": "^0.2.1",
|
"markdowny": "^0.2.1",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
|
|
|
@ -25,8 +25,9 @@ module.exports = {
|
||||||
"@semantic-release/git",
|
"@semantic-release/git",
|
||||||
|
|
||||||
[
|
[
|
||||||
"@semantic-release/gitlab",
|
"@semantic-release/gitea",
|
||||||
{
|
{
|
||||||
|
giteaUrl: "https://src.mfgames.com",
|
||||||
assets: [
|
assets: [
|
||||||
{ path: "*.epub", label: "EPUB2", type: "other" },
|
{ path: "*.epub", label: "EPUB2", type: "other" },
|
||||||
{ path: "*.pdf", label: "PDF", type: "other" },
|
{ path: "*.pdf", label: "PDF", type: "other" },
|
||||||
|
|
|
@ -20,7 +20,7 @@ rm -f dmoonfire*
|
||||||
# Perform the release process.
|
# Perform the release process.
|
||||||
log "performing semantic release"
|
log "performing semantic release"
|
||||||
export GIT_CREDENTIALS="dmoonfire:$GITEA_TOKEN"
|
export GIT_CREDENTIALS="dmoonfire:$GITEA_TOKEN"
|
||||||
npx semantic-release
|
npx semantic-release || exit 1
|
||||||
|
|
||||||
# Create a tarball of the output files and upload them to S3.
|
# Create a tarball of the output files and upload them to S3.
|
||||||
if ls dmoonfire* &> /dev/null
|
if ls dmoonfire* &> /dev/null
|
||||||
|
|
Loading…
Reference in a new issue