Skip to content

feat(tools): add script for bump #62

feat(tools): add script for bump

feat(tools): add script for bump #62

Workflow file for this run

name: ddns-go
on:
push:
schedule:
- cron: 0 0 * * 0
jobs:
cmp:
uses: WaterLemons2k/.github/.github/workflows/compare.yml@main
with:
new: $(curl -s https://api.github.com/repos/jeessy2/ddns-go/releases/latest | jq -r .tag_name)
git:
needs: cmp
if: needs.cmp.outputs.changed == 'true'
uses: WaterLemons2k/.github/.github/workflows/git.yml@main
with:
run: ./tools/bump ${{ needs.cmp.outputs.version }}
commit_message: "feat: bump ddns-go to ${{ needs.cmp.outputs.version }}"
docker:
needs: [cmp, git]
if: needs.cmp.outputs.changed == 'true'
uses: WaterLemons2k/Docker/.github/workflows/docker.yml@main
with:
tags: |
waterlemons2k/ddns-go
waterlemons2k/ddns-go:${{ needs.cmp.outputs.version }}
secrets:
TOKEN: ${{ secrets.TOKEN }}