Skip to content

Commit

Permalink
Remote builds don't play nice with git describe
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed May 2, 2024
1 parent 9906dcf commit 74fe517
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
if [ "${{ matrix.base }}" == "24" ]; then
mv snap/local/core24~snapcraft.yaml snap/snapcraft.yaml
fi
sed -i 's@git describe@echo '$(git describe)'@' snap/snapcraft.yaml
- name: Build and publish the snap
uses: canonical/actions/build-snap@release
Expand Down

0 comments on commit 74fe517

Please sign in to comment.