Skip to content

Commit

Permalink
Merge pull request elizaOS#806 from cygaar/update_release
Browse files Browse the repository at this point in the history
fix: part 2 of updating the npm publish workflow
  • Loading branch information
cygaar authored Dec 3, 2024
2 parents fe5a7c1 + bc1a61e commit 88c0286
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Release

on:
workflow_dispatch:
inputs:
release_type:
description: "Type of release (prerelease, prepatch, patch, minor, preminor, major)"
required: true
default: "patch"

jobs:
release:
Expand Down Expand Up @@ -53,6 +48,10 @@ jobs:
# Checkout the latest tag
git checkout $LATEST_TAG
# Clean any untracked files that differ from the latest tag and reset any changes
git clean -fd
git reset --hard $LATEST_TAG
npx lerna publish from-git --yes --dist-tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 88c0286

Please sign in to comment.