Skip to content

Commit 24bed11

Browse files
authored
Prepare 0.6.0 (#69)
* Prepare 0.6.0 * add bitbucket pipes releasing docs
1 parent d775ae5 commit 24bed11

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
All notable changes to the ld-find-code-refs program will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5-
## Master
6-
5+
## [0.6.0] - 2019-02-11
76
### Added
87
- Added a new command line argument, `version`. If provided, the current `ld-find-code-refs` version number will be logged, and the scanner will exit with a return code of 0.
98
- The `debug` option is now available to the CircleCI orb.

RELEASING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Releasing
22

33
## Versioning
4-
This project adheres to [Semantic Versioning](http://semver.org). Release version tags should be in the form `MAJOR.MINOR.PATCH`, with no leading v. When releasing, be sure to update the version number in [`version.go`](https://github.com/launchdarkly/ld-find-code-refs/blob/master/internal/version/version.go)
4+
This project adheres to [Semantic Versioning](http://semver.org). Release version tags should be in the form `MAJOR.MINOR.PATCH`, with no leading v. When releasing, be sure to update the version number in [`version.go`](https://github.com/launchdarkly/ld-find-code-refs/blob/master/internal/version/version.go), and in the [CircleCI orb](https://github.com/launchdarkly/ld-find-code-refs/blob/master/build/package/circleci/orb.yml).
55

66
## Github Releases
77

88
This project uses [goreleaser](https://goreleaser.com/) to generate github releases. Releases are automated via CircleCI. To generate a new release, simply tag the commit you want to release and push the tag. If the tag ends in -rc(.+), the github release will be marked as "Pre-release." If you'd like to see how release notes are generated, see the .circleci/config.yml publish job.
99

1010
Make sure you update the changelog before generating a release.
1111

12+
Once a release has been completed, update the [BitBucket pipelines](https://bitbucket.org/launchdarkly/ld-find-code-refs-pipe) repo with the new version number, and push a tag containing the version number along with your commit. Example release commit: https://bitbucket.org/launchdarkly/ld-find-code-refs-pipe/commits/0b1e920c7322cd495f4fc1a09d339342d32606e4
13+
1214
## Docker Hub
1315

1416
To push a new image version to Docker hub, run `make publish-cli-docker TAG=$VERSION` or `make publish-github-actions-docker TAG=$VERSION`, where `$VERSION` is the version you want to release. This will compile the ld-find-code-refs binary for either the base command line code ref finder or the github actions specialized finder, build a new image with your version tagged, and also point latest at that tag and push both latest and $VERSION to docker hub.

build/package/circleci/orb.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ examples:
77
usage:
88
version: 2.1
99
orbs:
10-
launchdarkly: launchdarkly/ld-find-code-refs@0.5.0
10+
launchdarkly: launchdarkly/ld-find-code-refs@0.6.0
1111
workflows:
1212
main:
1313
jobs:
@@ -21,7 +21,7 @@ examples:
2121
usage:
2222
version: 2.1
2323
orbs:
24-
launchdarkly: launchdarkly/ld-find-code-refs@0.5.0
24+
launchdarkly: launchdarkly/ld-find-code-refs@0.6.0
2525
workflows:
2626
main:
2727
jobs:
@@ -36,7 +36,7 @@ examples:
3636
usage:
3737
version: 2.1
3838
orbs:
39-
launchdarkly: launchdarkly/ld-find-code-refs@0.5.0
39+
launchdarkly: launchdarkly/ld-find-code-refs@0.6.0
4040
workflows:
4141
main:
4242
jobs:
@@ -52,7 +52,7 @@ examples:
5252
usage:
5353
version: 2.1
5454
orbs:
55-
launchdarkly: launchdarkly/ld-find-code-refs@0.5.0
55+
launchdarkly: launchdarkly/ld-find-code-refs@0.6.0
5656
workflows:
5757
main:
5858
jobs:
@@ -113,7 +113,7 @@ jobs:
113113
type: boolean
114114
default: false
115115
docker:
116-
- image: launchdarkly/ld-find-code-refs:0.5.0
116+
- image: launchdarkly/ld-find-code-refs:0.6.0
117117
steps:
118118
- checkout:
119119
path: /repo

internal/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package version
22

3-
const Version = "0.5.0"
3+
const Version = "0.6.0"

0 commit comments

Comments
 (0)