Skip to content

Commit

Permalink
Merge ece8e1e into 832d4df
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyAsirJeyasing committed Jan 10, 2017
2 parents 832d4df + ece8e1e commit c221f08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ gitversion:
$(eval RELEASE := $(GIT_RELEASE).$(SHORTCOMMIT))
sed -i tendrl/node_agent/__init__.py \
-e "s/^__version__ = .*/__version__ = '$(VERSION)'/"
sed -i tendrl-node-agent.spec \
sed -i node-agent.spec \
-e "s/^Version: .*/Version: $(VERSION)/"
sed -i tendrl-node-agent.spec \
sed -i node-agent.spec \
-e "s/^Release: .*/Release: $(RELEASE)/"

snapshot: gitversion srpm
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def read_module_contents():


def read_spec_contents():
with open('tendrl-node-agent.spec') as spec:
with open('node-agent.spec') as spec:
return spec.read()

module_file = read_module_contents()
Expand Down Expand Up @@ -65,7 +65,7 @@ def run(self):
old = 'Version: %s' % metadata['version']
new = 'Version: %s' % self.version
spec_file = read_spec_contents()
with open('tendrl-node-agent.spec', 'w') as fileh:
with open('node-agent.spec', 'w') as fileh:
fileh.write(spec_file.replace(old, new))

# Commit everything with a standard commit message
Expand Down

0 comments on commit c221f08

Please sign in to comment.