Skip to content

Commit

Permalink
build(package & releaserc): semantic release bump to 22.0.5 and node …
Browse files Browse the repository at this point in the history
…to latest & gulp release plugin
  • Loading branch information
AsifNawaz-cnic committed Oct 6, 2023
1 parent 1417665 commit 7b5b3ed
Show file tree
Hide file tree
Showing 5 changed files with 5,895 additions and 1,652 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- 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: APT Packages
Expand All @@ -51,5 +51,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
CPAN_USER: ${{ secrets.CPAN_USER }}
CPAN_PASSWORD: ${{ secrets.CPAN_PASSWORD }}
RTLDEV_MW_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_NOTIFICATION_URI }}
# we are root as of perl-tester image, npx won't invoke with root rights
run: ./node_modules/.bin/semantic-release
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[
"@semantic-release/exec",
{
"prepareCmd": "./scripts/podchecker.sh && ./updateVersion.sh ${nextRelease.version} && ./scripts/rebuild.sh && ./scripts/buildrelease.sh ${nextRelease.version}",
"prepareCmd": "./scripts/podchecker.sh && ./updateVersion.sh ${nextRelease.version} && gulp publish --notes \"${encodeURIComponent(nextRelease.notes)}\" && ./scripts/rebuild.sh && ./scripts/buildrelease.sh ${nextRelease.version}",
"publishCmd": "./scripts/upload.sh ${nextRelease.version}"
}
],
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 7b5b3ed

Please sign in to comment.