Skip to content

Commit

Permalink
Merge pull request #153 from centralnicgroup-opensource/RSRMID-1504-n…
Browse files Browse the repository at this point in the history
…ew-releases-to-be-published-to-teams-channel

build(package & releaserc): semantic release bump to 22.0.5 and node to latest & gulp release plugin
  • Loading branch information
AsifNawaz-cnic authored Oct 6, 2023
2 parents a3f0df0 + 6cd5a2f commit baffcc0
Show file tree
Hide file tree
Showing 5 changed files with 8,210 additions and 4,949 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: ./.github/workflows/test.yml

release:
name: Release Job
name: Release @ ubuntu-latest
runs-on: ubuntu-latest
needs: build
steps:
Expand All @@ -25,10 +25,10 @@ jobs:
with:
java-version: "18"
distribution: "adopt"
- name: Setup NodeJS LTS
- name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: lts/*
node-version: ${{ vars.RTLDEV_MW_CI_NODE_VERSION }}
check-latest: true
cache: "npm"
- name: Download Artifacts
Expand All @@ -52,6 +52,7 @@ 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_NOTIFICATION_URI }}
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
Expand Down
12 changes: 10 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@
[
"@semantic-release/exec",
{
"prepareCmd": "./updateVersion.sh ${nextRelease.version}"
"prepareCmd": "./updateVersion.sh ${nextRelease.version}",
"successCmd": "gulp publish --notes \"${encodeURIComponent(nextRelease.notes)}\""
}
],
[
"@terrestris/maven-semantic-release",
{
"mavenTarget": "deploy",
"settingsPath": "maven-settings.xml",
"debug": true
}
],
"@conveyal/maven-semantic-release",
[
"@semantic-release/git",
{
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exports.publish = require('rtldev-middleware-gulp-release-notification-plugin');
Loading

0 comments on commit baffcc0

Please sign in to comment.