diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2020-10-13 23:33:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 23:33:19 +0200 |
commit | dac3978983db598cc3429858ac884ac81eb12a0f (patch) | |
tree | d09d883a620d80cf97a5386a8a1131ebaca4fa2a /.github/workflows/cd.yml | |
parent | 7074cc28b83133146852a09fbcb9d01679d04cbf (diff) | |
parent | 1dc837527feac6e3b9569aa43daef0a459d365c5 (diff) |
Merge pull request #1049 from jesseduffield/cd-update-ppav0.23.3
workflows: update PPA repo as part of CD process
Diffstat (limited to '.github/workflows/cd.yml')
-rw-r--r-- | .github/workflows/cd.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index cc0f4a709..9beb5a185 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -26,3 +26,20 @@ jobs: with: token: ${{secrets.GITHUB_API_TOKEN}} formula: lazygit + - name: Checkout PPA repo + uses: actions/checkout@v2 + with: + repository: dawidd6/lazygit-debian + token: ${{secrets.GITHUB_API_TOKEN}} + fetch-depth: 0 + - name: Update PPA repo + run: | + version="$(echo "$GITHUB_REF" | sed 's@refs/tags/v@@')" + sudo apt install -y git-buildpackage + git fetch --tags https://github.com/$GITHUB_REPOSITORY + gbp import-ref -u "$version" + gbp dch -D xenial -N "$version"-1 + git add debian/changelog + git commit -S -m "d/changelog: dch $version" + gbp tag + git push --tags origin master |