Skip to content

Commit

Permalink
chore: update version
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
berendsliedrecht committed Jan 28, 2025
1 parent adafa64 commit a74e95b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 31 deletions.
29 changes: 3 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@ on:
pull_request:
branches: [main]
workflow_dispatch:
inputs:
release-type:
description: 'Type of release (major, minor, patch, alpha)'
required: true
default: patch
type: choice
options:
- major
- minor
- patch
- alpha

jobs:
continous-integration:
Expand Down Expand Up @@ -90,20 +79,8 @@ jobs:
echo ${{ inputs.release-type }}
git config --global user.name "Openwallet Foundation"
if [ ${{ inputs.release-type }} == 'alpha' ]; then
pnpm release --pre-dist-tag alpha prerelease --yes
if [[ $(cat lerna.json | grep version | head -1 | grep dev) ]]; then
pnpm publish from-package --no-push --no-private --yes --no-git-tag-version --dist-tag=alpha
else
pnpm release ${{ inputs.release-type }} --force-publish --no-private --yes
pnpm publish from-package --no-push --no-private --yes --no-git-tag-version
fi
version=$(node -p "require('./lerna.json').version")
echo "LERNA_VERSION=$version" >> "$GITHUB_OUTPUT"
- name: Create Github Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
prerelease: ${{ inputs.release-type == 'alpha' }}
token: ${{ secrets.GH_TOKEN }}
tag_name: v${{ steps.publish.outputs.LERNA_VERSION }}
name: Release v${{ steps.publish.outputs.LERNA_VERSION }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ The JavaScript wrapper is versioned independently from the native bindings. The
| ----------- | ------------------ |
| v0.2.9 | v0.1.x |
| v0.3.x | v0.2.x |
| v0.4.1 | v0.3.x |
| v0.4.x | v0.3.x |
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.2.2",
"version": "0.3.0",
"npmClient": "pnpm",
"command": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion packages/askar-nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openwallet-foundation/askar-nodejs",
"version": "0.2.3",
"version": "0.3.0",
"license": "Apache-2.0",
"description": "Nodejs wrapper for Askar",
"main": "build/index",
Expand Down
2 changes: 1 addition & 1 deletion packages/askar-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openwallet-foundation/askar-react-native",
"version": "0.2.3",
"version": "0.3.0",
"license": "Apache-2.0",
"description": "React Native wrapper for Askar",
"main": "build/index",
Expand Down
2 changes: 1 addition & 1 deletion packages/askar-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openwallet-foundation/askar-shared",
"version": "0.2.3",
"version": "0.3.0",
"license": "Apache-2.0",
"description": "Shared library for using Askar with NodeJS and React Native",
"main": "build/index",
Expand Down

0 comments on commit a74e95b

Please sign in to comment.