Skip to content

Commit

Permalink
ignore master when comparing versions (#465)
Browse files Browse the repository at this point in the history
* ignor master when compareing versions

* Update Makefile
  • Loading branch information
eti-codefresh authored Jun 17, 2024
1 parent efd8cc3 commit 468deac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=v1.3.0
VERSION=v1.3.1

ifndef GOBIN
ifndef GOPATH
Expand Down
4 changes: 4 additions & 0 deletions codefresh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ steps:
image: alpine/semver
commands:
- semver "${{VERSION}}" -r ">${{LATEST_VERSION}}" || (echo "bump version! current is ${{VERSION}} latest is ${{LATEST_VERSION}}" && exit 1)
when:
branch:
ignore:
- master

lint:
<<: *deps
Expand Down

0 comments on commit 468deac

Please sign in to comment.