Skip to content

Commit

Permalink
Merge pull request #9 from earthly/ido-fix-renovate-branch-parsing-fo…
Browse files Browse the repository at this point in the history
…r-release

release - fix renovate branch parsing
  • Loading branch information
idodod authored Mar 26, 2024
2 parents 2c5a9f5 + 0492c7e commit 3c50acd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ release:
# RENOVATE_BRANCH is the renovate branch that is expected to get merged and trigger this target
ARG --required RENOVATE_BRANCH
LET os=${RENOVATE_BRANCH#renovate/}
SET os=${os#major-}
# using a LET/SET in the target path does not work, use an ARG instead until it's fixed
ARG OS=${os%-dind-image}
BUILD --pass-args ./os/$OS+release

0 comments on commit 3c50acd

Please sign in to comment.