chore(release): 1.1.9-rc4

This commit is contained in:
Théo LAGACHE
2026-01-06 16:23:09 +01:00
parent 2adb2f3b68
commit 977f9344c7
4 changed files with 12 additions and 44 deletions
-41
View File
@@ -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
+2 -2
View File
@@ -26,5 +26,5 @@ keywords:
- web-ui
- agent
license: Apache-2.0
version: 1.1.8
date-released: "2026-01-01"
version: 1.1.9-rc4
date-released: "2026-01-06"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "portabase",
"version": "1.1.8",
"version": "1.1.9-rc4",
"private": true,
"scripts": {
"dev": "next dev --turbopack -p 8887",
+9
View File
@@ -9,9 +9,18 @@ if [ -z "$1" ]; then
fi
VERSION=$1
CLEAN_VERSION=${VERSION#v}
CURRENT_DATE=$(date +%Y-%m-%d)
echo "Preparing release $VERSION..."
echo "Updating package.json to version $CLEAN_VERSION..."
sed -i "s/\"version\": \".*\"/\"version\": \"$CLEAN_VERSION\"/" package.json
echo "Updating CITATION.cff..."
sed -i "s/^version: .*/version: $CLEAN_VERSION/" CITATION.cff
sed -i "s/^date-released: .*/date-released: \"$CURRENT_DATE\"/" CITATION.cff
git add .
if ! git diff-index --quiet HEAD --; then