Skip to content

Commit

Permalink
Setup and release Beta v1
Browse files Browse the repository at this point in the history
  • Loading branch information
yasincaliskan committed Aug 27, 2024
1 parent 0f8e55b commit 57e7d34
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/beta-v1-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "🚀 Beta v1 release"

on:
push:
branches:
- beta-v1

jobs:
release:
name: 🚀 Beta v1 release
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: https://registry.npmjs.org

- name: Build app
run: npm ci && npm run build:release

- name: 🚀 publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.3.5",
"name": "@perawallet/connect",
"description": "JavaScript SDK for integrating Pera Wallet to web applications.",
"name": "@perawallet/connect-beta",
"description": "Beta version of Pera Wallet Connect",
"main": "dist/index.js",
"scripts": {
"dev": "./node_modules/.bin/rollup -c -w",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default [
json(),
sizes(),
replace({
PERA_CONNECT_VERSION: `v${PeraConnectVersion}`,
PERA_CONNECT_VERSION: `v${PeraConnectVersion} - BETA`,
preventAssignment: true
})
]
Expand Down

0 comments on commit 57e7d34

Please sign in to comment.