Merge #31
20
.github/workflows/dev.yml
vendored
20
.github/workflows/dev.yml
vendored
@@ -62,3 +62,23 @@ jobs:
|
||||
run: npm publish --tag dev
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Get Infos
|
||||
run: |
|
||||
sudo apt install -y jq
|
||||
echo "bds_api_version=$(cat package.kson | jq '.version')" >> $GITHUB_ENV
|
||||
echo "bds_api_depe=\"$(cat package.kson | jq '.dependencies')\"" >> $GITHUB_ENV
|
||||
|
||||
- name: Tag
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
name: Bds Maneger API v${{ env.bds_api_version }}
|
||||
tag_name: ${{ env.bds_api_version }}
|
||||
prerelease: true
|
||||
body: |
|
||||
Install: npm install bds_maneger_api@dev
|
||||
Install: npm install bds_maneger_api@${{ env.bds_api_version }}
|
||||
Bds Maneger API publish Version (dev): ${{ env.bds_api_version }}
|
||||
Bds Maneger API depedencies: ${{ env.bds_api_depe }}
|
23
.github/workflows/stable.yml
vendored
23
.github/workflows/stable.yml
vendored
@@ -1,9 +1,6 @@
|
||||
name: Stable Publish
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*.*"
|
||||
- "v*.*"
|
||||
branches:
|
||||
- stable
|
||||
jobs:
|
||||
@@ -52,4 +49,22 @@ jobs:
|
||||
- name: Publish
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Get Infos
|
||||
run: |
|
||||
echo "bds_api_version=$(cat package.kson | jq '.version')" >> $GITHUB_ENV
|
||||
echo "bds_api_depe=\"$(cat package.kson | jq '.dependencies')\"" >> $GITHUB_ENV
|
||||
|
||||
- name: Tag
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
name: Bds Maneger API v${{ env.bds_api_version }}
|
||||
tag_name: ${{ env.bds_api_version }}
|
||||
body: |
|
||||
Install: npm install bds_maneger_api@latest
|
||||
Install: npm install bds_maneger_api@${{ env.bds_api_version }}
|
||||
Bds Maneger API publish Version: ${{ env.bds_api_version }}
|
||||
Bds Maneger API depedencies: ${{ env.bds_api_depe }}
|
Reference in New Issue
Block a user