Compare commits
3 Commits
main
...
v0.0.37-er
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c535492298 | ||
|
|
8813ded82b | ||
|
|
cd5ef5bc1c |
7
.github/workflows/pre-release.yml
vendored
7
.github/workflows/pre-release.yml
vendored
@@ -72,6 +72,11 @@ jobs:
|
||||
npm version $new_version --no-git-tag-version
|
||||
cd ..
|
||||
|
||||
# Update backend Cargo.toml version
|
||||
# Convert npm semver to cargo semver (remove prerelease part for Cargo)
|
||||
cargo_version=$(echo "$new_version" | sed 's/-.*$//')
|
||||
sed -i "s/^version = \".*\"/version = \"$cargo_version\"/" Cargo.toml
|
||||
|
||||
echo "New version: $new_version"
|
||||
echo "new_version=$new_version" >> $GITHUB_OUTPUT
|
||||
echo "new_tag=v$new_version" >> $GITHUB_OUTPUT
|
||||
@@ -80,7 +85,7 @@ jobs:
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add package.json npx-cli/package.json
|
||||
git add package.json npx-cli/package.json Cargo.toml
|
||||
git commit -m "chore: bump version to ${{ steps.version.outputs.new_version }}"
|
||||
git tag -a ${{ steps.version.outputs.new_tag }} -m "Release ${{ steps.version.outputs.new_tag }}"
|
||||
git push
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "vibe-kanban",
|
||||
"private": false,
|
||||
"version": "0.0.37-clash.0",
|
||||
"version": "0.0.37-ersion.1",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"vibe-kanban": "bin/cli.js"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vibe-kanban",
|
||||
"version": "0.0.37-clash.0",
|
||||
"version": "0.0.37-ersion.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "export FRONTEND_PORT=$(node scripts/setup-dev-environment.js frontend) && export BACKEND_PORT=$(node scripts/setup-dev-environment.js backend) && concurrently \"cargo watch -w backend -x 'run --manifest-path backend/Cargo.toml'\" \"npm run frontend:dev\"",
|
||||
|
||||
Reference in New Issue
Block a user