mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-19 20:19:14 +00:00
Compare commits
4 Commits
v1.18.0-al
...
v1.18.0-al
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd4df4cf75 | ||
|
|
7fe3574730 | ||
|
|
09a81d0e1e | ||
|
|
c09a22c533 |
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -14,6 +14,8 @@ jobs:
|
|||||||
if: ${{ github.repository == 'pedroslopez/whatsapp-web.js' }}
|
if: ${{ github.repository == 'pedroslopez/whatsapp-web.js' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
|
||||||
- run: git config --global user.email "hello@wwebjs.dev"
|
- run: git config --global user.email "hello@wwebjs.dev"
|
||||||
- run: git config --global user.name "WWebJS Bot"
|
- run: git config --global user.name "WWebJS Bot"
|
||||||
- name: Bump version and publish to NPM
|
- name: Bump version and publish to NPM
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "whatsapp-web.js",
|
"name": "whatsapp-web.js",
|
||||||
"version": "1.17.1",
|
"version": "1.18.0-alpha.1",
|
||||||
"description": "Library for interacting with the WhatsApp Web API ",
|
"description": "Library for interacting with the WhatsApp Web API ",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"typings": "./index.d.ts",
|
"typings": "./index.d.ts",
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ echo "-----> BUMP VERSION"
|
|||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
npm version $VERSION_ARGS || exit 1
|
npm version $VERSION_ARGS || exit 1
|
||||||
git push && git push --tags
|
git push && git push --tags || exit 1
|
||||||
|
|
||||||
NEW_VERSION=`cat package.json | jq -r .version`
|
NEW_VERSION=`cat package.json | jq -r .version`
|
||||||
echo "New Version: $NEW_VERSION"
|
echo "New Version: $NEW_VERSION"
|
||||||
@@ -77,4 +77,4 @@ echo ""
|
|||||||
echo "::set-output name=NEW_VERSION::$NEW_VERSION"
|
echo "::set-output name=NEW_VERSION::$NEW_VERSION"
|
||||||
echo "::set-output name=PRERELEASE::$PRERELEASE"
|
echo "::set-output name=PRERELEASE::$PRERELEASE"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user