-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from OriginProtocol/v53
V53
- Loading branch information
Showing
62 changed files
with
378 additions
and
22,421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Release squid | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
build_and_publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Install squid CLI | ||
run: npm i -g @subsquid/cli | ||
|
||
- name: npm install | ||
run: npm i | ||
|
||
- name: update squid.yml | ||
run: | | ||
# Get the tag from GitHub | ||
TAG=$(echo ${{ github.ref }} | sed 's/refs\/tags\///') | ||
# Extract the numeric part of the tag | ||
VERSION=$(echo $TAG | sed 's/v//') | ||
# Update the version in squid.yaml | ||
sed -i "s/^version: .*/version: $VERSION/" squid.yaml | ||
# Optional: Print the updated version for verification | ||
echo "Updated squid.yaml version to: $VERSION" | ||
- name: Build and deploy squid | ||
run: squid build && squid deploy . |
8 changes: 4 additions & 4 deletions
8
db/migrations/1726857088697-Data.js → db/migrations/1727379829987-Data.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.