Browse Source

chore: update release congig

main
Distopico Vegan 6 years ago
parent
commit
0bed434c97
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      .releaserc.yml

+ 7
- 7
.releaserc.yml View File

@ -2,11 +2,11 @@ plugins:
- "@semantic-release/commit-analyzer" - "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator" - "@semantic-release/release-notes-generator"
- "@semantic-release/changelog" - "@semantic-release/changelog"
- "@semantic-release/exec":
- prepareCmd: 'VERSIONCODE=`grep "versionCode .*" app/build.gradle | sed "s/versionCode //"` && sed -i "s/versionCode .*$/versionCode $(($VERSIONCODE + 1))/; s/versionName .*$/versionName \"${nextRelease.version}"/" app/build.gradle'
- "@semantic-release/git":
- assets:
- CHANGELOG.md
- app/build.gradle
- message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
- - "@semantic-release/exec"
- prepareCmd: 'VERSIONCODE=`grep "versionCode .*" app/build.gradle | sed "s/versionCode //"` && sed -i "s/versionCode .*$/versionCode $(($VERSIONCODE + 1))/; s/versionName .*$/versionName \"${nextRelease.version}"/" app/build.gradle'
- - "@semantic-release/git"
- assets:
- CHANGELOG.md
- app/build.gradle
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
- "@semantic-release/gitlab" - "@semantic-release/gitlab"

Loading…
Cancel
Save