Skip to content

[fix] fixing discord get command api #16

[fix] fixing discord get command api

[fix] fixing discord get command api #16

Workflow file for this run

name: verson 4.3.x
env:
APPVERSION: 4.3.${{ github.run_number }}
on:
workflow_dispatch:
push:
branches:
- "main"
paths:
- "src/**.ts"
jobs:
publish-gpr:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: yarn install
# - run: sed -i '3s/\([0-9]\{1,3\}\.[0-9]\{1,3\}\)\.[0-9]\{1,3\}/\1.${{ github.run_number }}/g' package.json
- name: sed version
run: sed -i '3s/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/${{ env.APPVERSION }}/g' package.json
- run: npm run build
- run: npm publish
- name: GH Release
uses: softprops/[email protected]
with:
tag_name: ${{ env.APPVERSION }}
target_commitish: ${{ github.sha }}