Skip to content

chore: bump version to 1.1.4 in manifest.json, package.json, and vers… #21

chore: bump version to 1.1.4 in manifest.json, package.json, and vers…

chore: bump version to 1.1.4 in manifest.json, package.json, and vers… #21

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
permissions:
contents: write
env:
PLUGIN_NAME: abbrlink
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Setup Environment
run: |
corepack enable
yarn set version stable
- name: Build
id: build
run: |
yarn
yarn build
mkdir ${{ env.PLUGIN_NAME }}
mv dist/main.js main.js
cp main.js manifest.json ${{ env.PLUGIN_NAME }}
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
ls
echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)"
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
draft: false
prerelease: false
files: |
${{ env.PLUGIN_NAME }}.zip
main.js
manifest.json