Skip to content

Merge pull request #45 from almond-bongbong/feature/add-prerelease-su… #85

Merge pull request #45 from almond-bongbong/feature/add-prerelease-su…

Merge pull request #45 from almond-bongbong/feature/add-prerelease-su… #85

Workflow file for this run

name: Auto Release
on:
push:
branches:
- main
jobs:
create_release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Get version from package.json
id: version
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
tag_name: v${{ env.version }}
release_name: Release v${{ env.version }}
body: Auto-generated release
draft: false
prerelease: false