Skip to content

Commit

Permalink
Fix version in apt git commits
Browse files Browse the repository at this point in the history
Don't get the ../deb vs in the update-apt-tip-repo where it is directly
accessing deb/*.changes instead. Don't get it, yet this did produce the
last working apt release. Has this changed?
  • Loading branch information
Kristian Larsson committed Feb 5, 2025
1 parent 6a9df07 commit 0b34598
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -694,11 +694,11 @@ jobs:
- name: "Get the version"
id: get_version
run: |
echo ::set-output name=version::$(ls ../deb/*amd64.changes | sed -e 's/.*acton_//' -e 's/_amd64.*//')
echo "VERSION=$(ls ../deb/*amd64.changes | sed -e 's/.*acton_//' -e 's/_amd64.*//')" >> $GITHUB_ENV
- name: "Include new deb in Apt repository"
run: |
cd apt
reprepro include stable ../deb/*.changes
reprepro include stable deb/*.changes
- name: "Push updates to git repository for apt.acton-lang.io"
run: |
cd apt
Expand All @@ -707,7 +707,7 @@ jobs:
git add .
git status
git diff
git commit -a -m "Add Acton v${{steps.get_version.outputs.version}}"
git commit -a -m "Add Acton v${VERSION}"
git push
# Update apt tip repo
Expand Down Expand Up @@ -742,7 +742,6 @@ jobs:
id: get_version
run: |
echo "VERSION=$(ls deb/*amd64.changes | sed -e 's/.*acton_//' -e 's/_amd64.*//')" >> $GITHUB_ENV
echo ::set-output name=version::$(ls deb/*amd64.changes | sed -e 's/.*acton_//' -e 's/_amd64.*//')
- name: "Move .deb files in place"
run: |
cd apt
Expand Down

0 comments on commit 0b34598

Please sign in to comment.