Skip to content

Commit 0d2edb3

Browse files
committed
Fixed small version typo when building/releasing.
1 parent 47345ed commit 0d2edb3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ build/GXWriter-$(VERSION).curapackage: plugins/GXWriter/* LICENSE icon.png
1313
cp LICENSE icon.png build/GXWriter
1414
cp -r plugins/GXWriter/ build/GXWriter/files/plugins/
1515
mv build/GXWriter/files/plugins/GXWriter/package.json build/GXWriter/
16-
sed -i -e 's/"version":.*/"version": "$(VERSION)"/g' build/GXWriter/files/plugins/GXWriter/plugin.json
17-
sed -i -e 's/"package_version":.*/"package_version": "$(VERSION)"/g' build/GXWriter/package.json
16+
sed -i -e 's/"version":.*/"version": "$(VERSION)",/g' build/GXWriter/files/plugins/GXWriter/plugin.json
17+
sed -i -e 's/"package_version":.*/"package_version": "$(VERSION)",/g' build/GXWriter/package.json
1818
cd build/GXWriter && \
1919
zip ../GXWriter-$(VERSION).curapackage -q \
2020
-x "*testdata*" \
@@ -28,8 +28,8 @@ build/FlashforgeFinderIntegration-$(VERSION).curapackage: plugins/FlashforgeFind
2828
cp LICENSE icon.png build/FlashforgeFinderIntegration
2929
cp -r plugins/FlashforgeFinderIntegration/ build/FlashforgeFinderIntegration/files/plugins/
3030
mv build/FlashforgeFinderIntegration/files/plugins/FlashforgeFinderIntegration/package.json build/FlashforgeFinderIntegration/
31-
sed -i -e 's/"version":.*/"version": "$(VERSION)"/g' build/FlashforgeFinderIntegration/files/plugins/FlashforgeFinderIntegration/plugin.json
32-
sed -i -e 's/"package_version":.*/"package_version": "$(VERSION)"/g' build/FlashforgeFinderIntegration/package.json
31+
sed -i -e 's/"version":.*/"version": "$(VERSION)",/g' build/FlashforgeFinderIntegration/files/plugins/FlashforgeFinderIntegration/plugin.json
32+
sed -i -e 's/"package_version":.*/"package_version": "$(VERSION)",/g' build/FlashforgeFinderIntegration/package.json
3333
cd build/FlashforgeFinderIntegration && \
3434
zip ../FlashforgeFinderIntegration-$(VERSION).curapackage -q \
3535
-x "*testdata*" \

0 commit comments

Comments
 (0)