Skip to content

Commit 14548ca

Browse files
authored
fix: Use the correct changelog file name for parsechangelog (#441)
Use the correct changelog file name for parsechangelog to get the version. The debian package which provides that changed.
2 parents c7cca0a + 3ba156f commit 14548ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ parts:
409409
override-build: |
410410
craftctl default
411411
# Set the snap version from the .deb package version
412-
craftctl set version=$(dpkg-parsechangelog -l $CRAFT_PART_INSTALL/usr/share/doc/steam-launcher/changelog.all.gz -S Version | sed -e s/1://g)
412+
craftctl set version=$(dpkg-parsechangelog -l $CRAFT_PART_INSTALL/usr/share/doc/steam-launcher/changelog.amd64.gz -S Version | sed -e s/1://g)
413413
prime:
414414
- -usr/share/doc
415415
- -usr/share/man

0 commit comments

Comments
 (0)