Skip to content

Commit 3bcc8cf

Browse files
authored
Pre release v0.1.0 (#6)
* update pre_release.sh * Releasing v0.1.0 * update CHANGELOG
1 parent eacb3cf commit 3bcc8cf

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
88

99
## [Unreleased]
1010

11+
## [0.1.0]
12+
1113
Initial Release
1214

1315
[0.1.0]: https://github.com/gojek/courier-go/-/releases/v0.1.0

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Update go.mod for submodules to depend on the new release which will happen in t
1313
2. Verify the changes.
1414

1515
```shell
16-
git diff master
16+
git diff main
1717
```
1818

1919
This should have changed the version for all modules to be `<new tag>`.

otelcourier/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/gojek/courier-go/otelcourier
33
go 1.16
44

55
require (
6-
github.com/gojek/courier-go v0.0.0
6+
github.com/gojek/courier-go v0.1.0
77
github.com/stretchr/testify v1.7.1
88
go.opentelemetry.io/otel v1.6.1
99
go.opentelemetry.io/otel/sdk v1.6.1

pre_release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ patch_gomods() {
8282
done
8383
}
8484

85-
# branch off from existing master
86-
git checkout -b "${BRANCH_NAME}" master
85+
# branch off from existing branch main
86+
git checkout -b "${BRANCH_NAME}" main
8787

8888
if [ -n "${COURIER_TAG}" ]; then
8989
patch_gomods github.com/gojek/courier-go "${COURIER_TAG}"
@@ -100,5 +100,5 @@ declare COMMIT_MSG=""
100100
COMMIT_MSG+="Releasing ${COURIER_TAG}"
101101
git commit -m "${COMMIT_MSG}"
102102

103-
printf "Now run following to verify the changes.\ngit diff master\n"
103+
printf "Now run following to verify the changes.\ngit diff main\n"
104104
printf "\nThen push the changes to upstream\n"

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ package courier
22

33
// Version can be used to get the current courier library version
44
func Version() string {
5-
return "0.0.0"
5+
return "0.1.0"
66
// This string is updated by the pre_release.sh script during release
77
}

0 commit comments

Comments
 (0)