-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into backport-fix-to-main
- Loading branch information
Showing
63 changed files
with
3,809 additions
and
1,314 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,34 @@ | ||
name: Update version on new release branch | ||
|
||
on: | ||
create: | ||
|
||
jobs: | ||
update_version: | ||
if: github.ref_type == 'branch' && startsWith(github.ref, 'refs/heads/release-v') | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.OPENZEPPELIN_ORG_GITHUB_PAT }} | ||
|
||
- name: Extract current version | ||
run: | | ||
CURRENT_VERSION=$(grep '^version = ' Scarb.toml | sed 's/version = "\(.*\)"/\1/') | ||
echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV | ||
- name: Extract new version number | ||
run: echo "NEW_VERSION=${GITHUB_REF#refs/heads/release-v}" >> $GITHUB_ENV | ||
|
||
- name: Replace version in files | ||
run: | | ||
echo "Current version: $CURRENT_VERSION" | ||
echo "New version: $NEW_VERSION" | ||
find . -type f -not -path '*/\.*' -not -path './CHANGELOG.md' -not -path './docs/package-lock.json' -not -path './RELEASING.md' -exec sed -i "s/$CURRENT_VERSION/$NEW_VERSION/g" {} + | ||
- name: Auto-commit changes | ||
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a #v4.16.0 | ||
with: | ||
commit_message: Bump version to ${{ env.NEW_VERSION }} |
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
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
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
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
[package] | ||
name = "openzeppelin" | ||
version = "0.8.1" | ||
cairo-version = "2.4.1" | ||
edition = "2023_01" | ||
cairo-version = "2.4.4" | ||
authors = ["OpenZeppelin Community <[email protected]>"] | ||
description = "OpenZeppelin Contracts written in Cairo for StarkNet, a decentralized ZK Rollup" | ||
documentation = "https://docs.openzeppelin.com/contracts-cairo" | ||
|
@@ -11,7 +12,7 @@ license-file = "LICENSE" | |
keywords = ["openzeppelin", "starknet", "cairo", "contracts", "security", "standards"] | ||
|
||
[dependencies] | ||
starknet = "2.4.1" | ||
starknet = "2.4.4" | ||
|
||
[lib] | ||
|
||
|
Oops, something went wrong.