Skip to content

Commit

Permalink
branch release
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmarcus committed Feb 5, 2025
1 parent c10b1c0 commit 61d2210
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/branch-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20' # Specify the Node.js version you want to use
node-version: '20'

- name: Install pnpm
run: npm install -g pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Install Dependencies
run: pnpm install
run: pnpm install --froze

- name: Build
run: pnpm run build
Expand All @@ -27,7 +29,7 @@ jobs:
run: |
BRANCH_NAME=${GITHUB_REF#refs/heads/}
SHORT_SHA=$(git rev-parse --short HEAD)
BASE_VERSION="0.1.0" # Define a base version
BASE_VERSION=$(node -p "require('./package.json').version")
VERSION="${BASE_VERSION}-${BRANCH_NAME}-${SHORT_SHA}"
pnpm version $VERSION --no-git-tag-version
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "make-agent",
"type": "module",
"version": "0.0.22-7",
"version": "0.2.3",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -33,7 +33,7 @@
"agent",
"cli"
],
"author": "Micro",
"author": "Bitte Team",
"license": "MIT",
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
Expand Down

0 comments on commit 61d2210

Please sign in to comment.