File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 strategy :
1616 fail-fast : false
1717 matrix :
18- # Public only tags v5-next here (v4-next is handled in its own job below);
19- # next is tagged on the private repo only.
2018 branch : ${{ github.repository == 'AztecProtocol/aztec-packages-private' && fromJSON('["next", "v5-next"]') || fromJSON('["v5-next"]') }}
2119 concurrency :
2220 group : ${{ github.workflow }}-${{ github.repository }}-${{ matrix.branch }}
3634 echo "${{ matrix.branch }} nightly tag: $nightly_tag"
3735 git tag -a "$nightly_tag" -m "$nightly_tag"
3836 git push origin "$nightly_tag"
39-
40- nightly-release-tag-v4-next :
41- if : ${{ github.repository == 'AztecProtocol/aztec-packages' }}
42- runs-on : ubuntu-latest
43- concurrency :
44- group : ${{ github.workflow }}-${{ github.repository }}-v4-next
45- steps :
46- - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
47- with :
48- ref : v4-next
49- token : ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}
50-
51- - name : Create v4-next Nightly Tag
52- run : |
53- git config --global user.email "tech@aztecprotocol.com"
54- git config --global user.name "AztecBot"
55- current_version=$(jq -r '."."' .release-please-manifest.json)
56- echo "Current version: $current_version"
57- nightly_tag="v${current_version}-nightly.$(date -u +%Y%m%d)"
58- echo "v4-next nightly tag: $nightly_tag"
59- git tag -a "$nightly_tag" -m "$nightly_tag"
60- git push origin "$nightly_tag"
You can’t perform that action at this time.
0 commit comments