husqvarnagroup / smart-garden-gateway-public

Open Source Components of the GARDENA smart Gateway
https://www.gardena.com/de/produkte/smart/smartsystem/
102 stars 13 forks source link

scripts: Add support for lightweight tags in bbwrapper.sh #23

Closed easybe closed 8 months ago

easybe commented 8 months ago

Supporting lightweight Git tags will make our lives easier, as we (currently) need to create the tags manually. In fact, the most recent release tags are lightweight, therefore, without this patch images are not versioned correctly.

So, from now on, release tags can simply be created like this:

tag=release/linux-system-x.y.z
git tag $tag
git push origin $tag