File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7979 - name : Set goreleaser last tag reference in case of non-nightly release
8080 id : prev-tag
8181 if : inputs.nightly != 'true'
82- # find previous tag by filtering out nightly tags and choosing the
82+ # find previous tag by filtering out nightly tags and binary release (OCB, OpAMP) tags and then choosing the
8383 # second to last tag (last one is the current release)
8484 run : |
8585 prev_tag=$(git tag | grep -v "cmd" | grep -v "nightly" | sort -r --version-sort | head -n 2 | tail -n 1)
Original file line number Diff line number Diff line change 2626 - name : Set goreleaser last tag reference in case of non-nightly release
2727 id : prev-tag
2828 if : ${{ !contains(github.ref, '-nightly') }}
29- # find previous tag by filtering out nightly tags and choosing the
29+ # find previous tag by taking only OCB tags, filtering out nightly tags and then choosing the
3030 # second to last tag (last one is the current release)
3131 run : |
3232 prev_tag=$(git tag | grep "cmd/builder" | grep -v "nightly" | sort -r --version-sort | head -n 2 | tail -n 1)
Original file line number Diff line number Diff line change 2626 - name : Set goreleaser last tag reference in case of non-nightly release
2727 id : prev-tag
2828 if : ${{ !contains(github.ref, '-nightly') }}
29- # find previous tag by filtering out nightly tags and choosing the
29+ # find previous tag by taking only OpAMP supervisor tags, filtering out nightly tags and then choosing the
3030 # second to last tag (last one is the current release)
3131 run : |
3232 prev_tag=$(git tag | grep "cmd/opampsupervisor" | grep -v "nightly" | sort -r --version-sort | head -n 2 | tail -n 1)
You can’t perform that action at this time.
0 commit comments