summaryrefslogtreecommitdiff
path: root/intro2-tour
diff options
context:
space:
mode:
Diffstat (limited to 'intro2-tour')
-rwxr-xr-xintro2-tour21
1 files changed, 17 insertions, 4 deletions
diff --git a/intro2-tour b/intro2-tour
index 1a4f21d..e73d3b0 100755
--- a/intro2-tour
+++ b/intro2-tour
@@ -221,10 +221,22 @@ EOF
show bdep sync ?sys:libsqlite3
+cd ..
+
# Versioning and Release Management.
#
+clean
+show bdep new -C hello-gcc @gcc -t exe -l c++ hello cc config.cxx=$gcc
+cd hello
+
+git remote add origin git@github.com:boris-kolpackov/hello.git
+git push origin :build2-control || true
+git push -d origin v0.1.0-a.1 || true
+git push -d origin v0.1.0 || true
+
git add .
git commit -m "Initial implementation"
+git push -f -u
show bdep status
show b info
@@ -236,12 +248,13 @@ git commit -a -m "Another commit"
show bdep status
-sed -i -re 's/^version: .*/version: 0.1.0/' manifest
-git commit -a -m "Release 0.1.0"
-git remote add origin git@github.com:boris-kolpackov/hello.git
-git push origin :build2-control
+show bdep release --alpha --push
+show bdep release --no-open --push
+
show bdep publish --simulate success
+show bdep release --open --push
+
cd ..
## fi