Skip to content

Commit

Permalink
ci(release.yml): reviewed release env and releaserc file for extended…
Browse files Browse the repository at this point in the history
… teams notifications
  • Loading branch information
AsifNawaz-cnic authored and KaiSchwarz-cnic committed Nov 24, 2023
1 parent 383164b commit da31fbe
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ jobs:
ENCRYPTED_C9F9AEDF26B7_IV: ${{ secrets.ENCRYPTED_C9F9AEDF26B7_IV }}
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
RTLDEV_MW_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_CI_NOTIFICATION_URI }}
TEAMS_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_CI_NOTIFICATION_URI }}
COMMIT_SHA: ${{ github.sha }}
run: |
openssl aes-256-cbc -K $ENCRYPTED_C9F9AEDF26B7_KEY -iv $ENCRYPTED_C9F9AEDF26B7_IV -in codesigning.asc.enc -out codesigning.asc -d
gpg --import --batch codesigning.asc
npx semantic-release
npx semantic-release
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@semantic-release/exec",
{
"prepareCmd": "./updateVersion.sh ${nextRelease.version}",
"successCmd": "gulp publish --notes \"${encodeURIComponent(nextRelease.notes)}\""
"successCmd": "gulp publishNotification --update \"${nextRelease.version}\" --type \"${nextRelease.type}\" --notes \"${encodeURIComponent(nextRelease.notes)}\""
}
],
[
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exports.publish = require('rtldev-middleware-gulp-release-notification-plugin');
exports.publishNotification = require('rtldev-middleware-gulp-release-notification-plugin');
14 changes: 5 additions & 9 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"@semantic-release/git": "^10.0.1",
"@terrestris/maven-semantic-release": "^2.3.0",
"gulp": "^4.0.2",
"rtldev-middleware-gulp-release-notification-plugin": "github:centralnicgroup-opensource/rtldev-middleware-gulp-release-notification-plugin"
"rtldev-middleware-gulp-release-notification-plugin": "github:centralnicgroup-opensource/rtldev-middleware-gulp-release-notification-plugin#semver:^1.0.0"
}
}

0 comments on commit da31fbe

Please sign in to comment.