Skip to content

🔖 Bump version

🔖 Bump version #77

Workflow file for this run

on:
push:
tags:
- 'v*'
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Build
run: |
yarn install --ignore-scripts
yarn build
- name: Publish package to NPM 🚀
env:
NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
run: |
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
npm publish
- name: Package 📦
run: yarn package
- name: Publish Release ✨
uses: softprops/action-gh-release@v2
with:
name: gitmoji-cli ${{github.ref_name}}
generate_release_notes: true
files: |
./bin/gitmoji-linux
./bin/gitmoji-macos
./bin/gitmoji-win.exe