Skip to content

Commit

Permalink
chore: bump version in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
massix committed Jul 5, 2024
1 parent 6dfa6b2 commit 41dea50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,23 @@ jobs:
git-user: 'github-actions[bot]'
git-user-email: 'github-actions@github.com'
- name: Bump version
id: version
run: |
make image-tag
cog bump --version "$(make image-tag)"
cog changelog --at "v$(make image-tag)" > tmp.md
echo "version=$(make image-tag)" >> $GITHUB_OUTPUT
- name: Push back to repository
run: |
git config user.email "github-actions@github.com"
git config user.name "github-actions[bot]"
git push
git push --tags
- uses: softprops/action-gh-release@v2
with:
body_path: tmp.md
generate_release_notes: true
make_latest: "true"
draft: false
tag_name: v${{ steps.version.outputs.version }}
name: v${{ steps.version.outputs.version }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERRAFORM := $(shell which terraform)
DOCKER := $(shell which docker)
APPNAME ?= chaos-monkey
IMAGE ?= chaos-monkey
TAG ?= 2.0.4
TAG ?= 2.1.0

all: bin/$(APPNAME)
.PHONY: clean generate bin/$(APPNAME) image-version cluster-test
Expand Down

0 comments on commit 41dea50

Please sign in to comment.