mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02:00
cd: remove ppa job
Deprecated
This commit is contained in:
23
.github/workflows/cd.yml
vendored
23
.github/workflows/cd.yml
vendored
@@ -29,26 +29,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{secrets.GITHUB_API_TOKEN}}
|
token: ${{secrets.GITHUB_API_TOKEN}}
|
||||||
formula: lazygit
|
formula: lazygit
|
||||||
ppa:
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- name: Checkout PPA repo
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: dawidd6/lazygit-debian
|
|
||||||
token: ${{secrets.GITHUB_API_TOKEN}}
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Setup git
|
|
||||||
uses: dawidd6/action-git-user-config@v1
|
|
||||||
- name: Update PPA repo
|
|
||||||
run: |
|
|
||||||
version="$(echo "$GITHUB_REF" | sed 's@refs/tags/v@@')"
|
|
||||||
sudo apt update
|
|
||||||
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 -m "d/changelog: dch $version"
|
|
||||||
gbp tag
|
|
||||||
git push --tags origin master
|
|
||||||
|
|||||||
Reference in New Issue
Block a user