Skip to content

Commit

Permalink
Merge pull request #718 from cole-miller/force-lts-package-rebuild
Browse files Browse the repository at this point in the history
Fix packages workflow
  • Loading branch information
cole-miller authored Oct 23, 2024
2 parents c17066d + 29e939d commit e474f36
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ jobs:
environment:
name: ppa
steps:
- name: Clone the repositories
run: |
git clone https://github.com/canonical/dqlite
git clone https://github.com/canonical/dqlite-ppa -b dqlite-lts --depth 1
- uses: actions/checkout@v4

- uses: actions/checkout@v4
with:
repository: canonical/dqlite-ppa
ref: dqlite-lts
path: dqlite-ppa

- name: Setup dependencies
run: |
Expand Down Expand Up @@ -49,9 +52,7 @@ jobs:
DEBEMAIL: "[email protected]"
TARGET: ${{ matrix.target }}
run: |
echo Version $VERSION
cp -R dqlite-ppa/debian dqlite/
cd dqlite/
cp -R dqlite-ppa/debian .
VERSION="$(git describe --tags | sed -e "s/^v//" -e "s/-/+git/")"
dch --create \
--distribution ${TARGET} \
Expand Down

0 comments on commit e474f36

Please sign in to comment.