Skip to content

Commit

Permalink
chore: bumping version to 1.4.0 (#1378)
Browse files Browse the repository at this point in the history
  • Loading branch information
themantre authored Jun 27, 2024
1 parent 8a2056c commit 4f27e69
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
8 changes: 4 additions & 4 deletions docs/patching.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Create environment variables for the patch version, which will be used in subseq
Keep your terminal open for further steps.

```bash
PRV_VER="1.3.0"
CUR_VER="1.3.1"
NEXT_VER="1.3.2"
BASE_BRANCH="1.3.x"
PRV_VER="1.4.0"
CUR_VER="1.4.1"
NEXT_VER="1.4.2"
BASE_BRANCH="1.4.x"
TAG_NAME="v${CUR_VER}"
TAG_MSG="Version ${CUR_VER}"
```
Expand Down
20 changes: 12 additions & 8 deletions docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ Create environment variables for the release version, which will be used in subs
Keep your terminal open for further steps.

```bash
PRV_VER="1.2.0"
CUR_VER="1.3.0"
NEXT_VER="1.4.0"
PRV_VER="1.3.0"
CUR_VER="1.4.0"
NEXT_VER="1.5.0"
BASE_BRANCH="main"
TAG_NAME="v${CUR_VER}"
TAG_MSG="Version ${CUR_VER}"
Expand All @@ -51,7 +51,6 @@ TAG_MSG="Version ${CUR_VER}"
## 5. Update the Version

clear Meta and set Alias in [version.go](../version/version.go).
If this is a **major release**, update the versions inside the [patching](./patching.md) in step 2.

## 6. Update Changelog

Expand Down Expand Up @@ -107,8 +106,10 @@ Pushing the tag will automatically create a release tag and build the binaries.

## 10. Bump the Version

Update the version inside [version.go](../version/version.go) and add `beta` to the `meta` field.
If this is a **major release**, update the versions inside this document in step 3.
- Update the version inside [version.go](../version/version.go) and add `beta` to the `meta` field.
- If this is a **major release**, update the versions inside this document in step 3 and
update the versions inside the [patching](./patching.md) in step 2.
- If this is a **patch release**, update the versions inside the [patching](./patching.md) in step 2.

Create a new PR against the base branch:

Expand All @@ -127,9 +128,12 @@ Create a new announcement post on the
[blog](https://pactus.org/blog/) and update the
[Road Map](https://pactus.org/about/roadmap/) and
[Download](https://pactus.org/download/) pages.
Additionally, draft a new release on the
Additionally, update the new release on the
[GitHub Releases](https://github.com/pactus-project/pactus/releases) page.
If gRPC APIs has changed in this version,
be sure to update the [API documentation](https://docs.pactus.org/api/) accordingly.

## 12. Celebrate 🎉

Before celebrating, ensure that the release has been tested and that all documentation is up to date
Before celebrating, ensure that the release has been tested and that all documentation is up to date.
Don't forget to update dependencies after major releases (see [Update Dependencies](./update-dependensies.md)).
2 changes: 1 addition & 1 deletion docs/update-dependensies.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Updating Project Dependencies
# Update Dependencies

This document is about how to update the Pactus project repository to latest version.

Expand Down
6 changes: 3 additions & 3 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (
// During development, set the Meta field to "beta".
var NodeVersion = Version{
Major: 1,
Minor: 3,
Minor: 4,
Patch: 0,
Meta: "",
Alias: "Warsaw",
Meta: "beta",
Alias: "",
}

// Version defines the version of Pactus software.
Expand Down

0 comments on commit 4f27e69

Please sign in to comment.