Skip to content

Commit

Permalink
Merge branch 'master' into ru/chore/depr-decl-fungible
Browse files Browse the repository at this point in the history
  • Loading branch information
ruseinov authored Aug 17, 2023
2 parents 1f2e9c6 + 6c50cae commit 101b248
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 5 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release-plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- master

jobs:
release-plz:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
env:
# https://marcoieni.github.io/release-plz/github-action.html#triggering-further-workflow-runs
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ members = [
"near-sdk",
"near-sdk-macros",
"near-contract-standards",
"sys",
"near-sys",
]
exclude = ["examples/"]

[workspace.package]
version = "4.1.1"

# Special triple # comment for ci.
[patch.crates-io]
### borsh = { git = "https://github.com/near/borsh-rs", branch = "master" }
Expand Down
2 changes: 1 addition & 1 deletion near-contract-standards/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-contract-standards"
version = "4.1.1"
version.workspace = true
authors = ["Near Inc <hello@near.org>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion near-sdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-sdk-macros"
version = "4.1.1"
version.workspace = true
authors = ["Near Inc <max@nearprotocol.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions near-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "near-sdk"
version = "4.1.1"
version.workspace = true
authors = ["Near Inc <max@nearprotocol.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand All @@ -22,7 +22,7 @@ required-features = ["abi", "unstable"]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
near-sdk-macros = { path = "../near-sdk-macros", version = "~4.1.1" }
near-sys = { path = "../sys", version = "0.2" }
near-sys = { path = "../near-sys", version = "0.2" }
base64 = "0.13"
borsh = { version = "0.9", features = ["const-generics"] }
bs58 = "0.4"
Expand Down
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[workspace]
# Use `near-sdk` crate CHANGELOG as top-level one
changelog_update = false

[[package]]
name = "near-sdk"
changelog_update = true
changelog_path = "./CHANGELOG.md"
changelog_include = ["near-sdk-macros"]

[[package]]
name = "near-contract-standards"
changelog_update = true

[[package]]
name = "near-sys"
changelog_update = true

0 comments on commit 101b248

Please sign in to comment.