Skip to content

Commit

Permalink
switching to version 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
yazgoo committed Aug 26, 2015
1 parent bbacca1 commit bb46087
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
9 changes: 2 additions & 7 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,14 +267,9 @@ def bump_version():
return
previous_v = get_version()
for ext in ["spec", "dsc"]:
previous_path = "./packaging/fuse_kafka-{}.{}".format(previous_v, ext)
path = "./packaging/fuse_kafka-{}.{}".format(v, ext)
run("mv", previous_path, path)
path = "./packaging/fuse_kafka.{}".format(ext)
run("sed", "-i", "s/^\(Version: \).*/\\1{}/".format(v), path)
run("git", "add", path)
version = open("src/version.h", "w")
version.write("#define VERSION \""+ v + "\"\n")
version.close()
run("sed", "-i", "s/\(#define VERSION \).*$/\\1\\\"{}\\\"/".format(v), "src/version.h")
print "version bumped from {} to {} ".format(previous_v, v)
def version():
""" Displays the current version number
Expand Down
2 changes: 1 addition & 1 deletion packaging/fuse_kafka.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Format: 1.0
Source: fuse_kafka
Binary: fusekafka-bin, fusekafka--n
Architecture: any
Version: 0.1.5
Version: 0.1.6
Maintainer: unknown <unknown@debian.org>
Standards-Version: 3.8.2
Homepage:
Expand Down
2 changes: 1 addition & 1 deletion packaging/fuse_kafka.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Summary: fuse overlay for kafka
Name: fuse_kafka
Version: 0.1.5
Version: 0.1.6
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
License: Apache License, Version 2.0
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define VERSION "0.1.5"
#define VERSION "0.1.6"
#ifndef COMMIT
#define COMMIT "unknown"
#endif
Expand Down

0 comments on commit bb46087

Please sign in to comment.