mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
chore(release): 1.1.9-rc4
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
name: Bump version
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
bump:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Configure git
|
||||
run: |
|
||||
git config user.name "github-actions"
|
||||
git config user.email "github-actions@github.com"
|
||||
|
||||
- name: Bump version
|
||||
run: |
|
||||
npm version patch --no-git-tag-version
|
||||
|
||||
- name: Commit version
|
||||
run: |
|
||||
git add package.json package-lock.json
|
||||
git commit -m "chore(release): bump version"
|
||||
|
||||
- name: Create tag
|
||||
run: |
|
||||
VERSION=$(node -p "require('./package.json').version")
|
||||
git tag $VERSION
|
||||
git push origin main --tags
|
||||
Reference in New Issue
Block a user