Commit c86ef08e authored by Rafael Monnerat's avatar Rafael Monnerat

obs/slapos: Automatic detect RECIPE_VERSION from the latest tag

parent 6d021d81
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# Edit for release # Edit for release
VERSION=`grep ^slapos.core slapos_repository/stack/slapos.cfg | cut -f3 -d\ ` VERSION=`grep ^slapos.core slapos_repository/stack/slapos.cfg | cut -f3 -d\ `
# Edit for release # Edit for release
RECIPE_VERSION=1.0.83.1 RECIPE_VERSION=`cd slapos_repository && git describe --tags $(git rev-list --tags --max-count=1)`
# Edit for release # Edit for release
RELEASE=1 RELEASE=1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment