Skip to content

Commit

Permalink
Fixed small version typo when building/releasing.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronoaldo committed May 30, 2020
1 parent 47345ed commit 0d2edb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ build/GXWriter-$(VERSION).curapackage: plugins/GXWriter/* LICENSE icon.png
cp LICENSE icon.png build/GXWriter
cp -r plugins/GXWriter/ build/GXWriter/files/plugins/
mv build/GXWriter/files/plugins/GXWriter/package.json build/GXWriter/
sed -i -e 's/"version":.*/"version": "$(VERSION)"/g' build/GXWriter/files/plugins/GXWriter/plugin.json
sed -i -e 's/"package_version":.*/"package_version": "$(VERSION)"/g' build/GXWriter/package.json
sed -i -e 's/"version":.*/"version": "$(VERSION)",/g' build/GXWriter/files/plugins/GXWriter/plugin.json
sed -i -e 's/"package_version":.*/"package_version": "$(VERSION)",/g' build/GXWriter/package.json
cd build/GXWriter && \
zip ../GXWriter-$(VERSION).curapackage -q \
-x "*testdata*" \
Expand All @@ -28,8 +28,8 @@ build/FlashforgeFinderIntegration-$(VERSION).curapackage: plugins/FlashforgeFind
cp LICENSE icon.png build/FlashforgeFinderIntegration
cp -r plugins/FlashforgeFinderIntegration/ build/FlashforgeFinderIntegration/files/plugins/
mv build/FlashforgeFinderIntegration/files/plugins/FlashforgeFinderIntegration/package.json build/FlashforgeFinderIntegration/
sed -i -e 's/"version":.*/"version": "$(VERSION)"/g' build/FlashforgeFinderIntegration/files/plugins/FlashforgeFinderIntegration/plugin.json
sed -i -e 's/"package_version":.*/"package_version": "$(VERSION)"/g' build/FlashforgeFinderIntegration/package.json
sed -i -e 's/"version":.*/"version": "$(VERSION)",/g' build/FlashforgeFinderIntegration/files/plugins/FlashforgeFinderIntegration/plugin.json
sed -i -e 's/"package_version":.*/"package_version": "$(VERSION)",/g' build/FlashforgeFinderIntegration/package.json
cd build/FlashforgeFinderIntegration && \
zip ../FlashforgeFinderIntegration-$(VERSION).curapackage -q \
-x "*testdata*" \
Expand Down

0 comments on commit 0d2edb3

Please sign in to comment.