Skip to content

Commit e1539b7

Browse files
authored
Merge pull request #57 from OriginProtocol/v53
V53
2 parents ee6aa47 + f150c31 commit e1539b7

File tree

62 files changed

+378
-22421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+378
-22421
lines changed

.github/workflows/release.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Release squid
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build_and_publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Install Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
20+
- name: Install squid CLI
21+
run: npm i -g @subsquid/cli
22+
23+
- name: npm install
24+
run: npm i
25+
26+
- name: update squid.yml
27+
run: |
28+
# Get the tag from GitHub
29+
TAG=$(echo ${{ github.ref }} | sed 's/refs\/tags\///')
30+
31+
# Extract the numeric part of the tag
32+
VERSION=$(echo $TAG | sed 's/v//')
33+
34+
# Update the version in squid.yaml
35+
sed -i "s/^version: .*/version: $VERSION/" squid.yaml
36+
37+
# Optional: Print the updated version for verification
38+
echo "Updated squid.yaml version to: $VERSION"
39+
40+
- name: Build and deploy squid
41+
run: squid build && squid deploy .

db/migrations/1726857088697-Data.js renamed to db/migrations/1727379829987-Data.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/REQUIREMENTS.md

Lines changed: 0 additions & 246 deletions
This file was deleted.

0 commit comments

Comments
 (0)