Skip to content

Commit

Permalink
Merge pull request #305 from buildpacks/version-file
Browse files Browse the repository at this point in the history
Prepare for 0.8.0 release.
  • Loading branch information
ekcasey authored May 29, 2020
2 parents af0ef6f + 8a5b9e1 commit 9675f55
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ on:
jobs:
test-and-build:
runs-on: ubuntu-latest
env:
LIFECYCLE_VERSION: 0.7.5
steps:
- uses: actions/checkout@v2
- name: Set up go
Expand All @@ -36,7 +34,7 @@ jobs:
run: |
make build
make package
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v2
with:
name: lifecycle-linux-x86-64
path: out/lifecycle-v${{ env.LIFECYCLE_VERSION }}+linux.x86-64.tgz
path: out/lifecycle-v*+linux.x86-64.tgz
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LDFLAGS+=-X 'github.com/buildpacks/lifecycle/cmd.SCMCommit=$(SCM_COMMIT)'
LDFLAGS+=-X 'github.com/buildpacks/lifecycle/cmd.PlatformAPI=$(PLATFORM_API)'
GOBUILD=go build $(GOFLAGS) -ldflags "$(LDFLAGS)"
GOTEST=$(GOCMD) test $(GOFLAGS)
LIFECYCLE_VERSION?=0.0.0
LIFECYCLE_VERSION?=$(shell cat VERSION)
PLATFORM_API?=0.3
BUILDPACK_API?=0.2
SCM_REPO?=github.com/buildpacks/lifecycle
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $ make all
```
This will create an archive at `out/lifecycle-<LIFECYCLE_VERSION>+linux.x86-64.tgz`.

By default, `LIFECYCLE_VERSION` is `0.0.0`. It can be changed by prepending `LIFECYCLE_VERSION=<some version>` to the
`LIFECYCLE_VERSION` defaults to the value in the `VERSION` file at the root of the repo . It can be changed by prepending `LIFECYCLE_VERSION=<some version>` to the
`make` command. For example:

```bash
Expand Down
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.8.0

0 comments on commit 9675f55

Please sign in to comment.