Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dnfdaemon
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
manatools
dnfdaemon
Commits
83c29e36
Commit
83c29e36
authored
Dec 15, 2015
by
Tim Lauridsen
Browse files
Options
Downloads
Patches
Plain Diff
change the release Makefile target to the gitflow model
parent
19d524da
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+10
-3
10 additions, 3 deletions
Makefile
with
10 additions
and
3 deletions
Makefile
+
10
−
3
View file @
83c29e36
...
...
@@ -15,7 +15,7 @@ BUMPED_MINOR=${shell VN=`cat ${APPNAME}.spec | grep Version| sed 's/${VER_REGEX
NEW_VER
=
${
shell
cat
${
APPNAME
}
.spec |
grep
Version|
sed
's/\(^Version:\s*\)\([0-9]*\.[0-9]*\.\)\(.*\)/\2
${
BUMPED_MINOR
}
/'
}
NEW_REL
=
0.1.
${
GITDATE
}
DIST
=
${
shell rpm
--eval
"%{dist
}
"
}
GIT_MASTER
=
master
GIT_MASTER
=
develop
CURDIR
=
${
shell
pwd
}
BUILDDIR
=
$(
CURDIR
)
/build
...
...
@@ -132,16 +132,23 @@ archive:
changelog
:
@
git log
--pretty
--numstat
--summary
| tools/git2cl
>
ChangeLog
release-branch
:
@
git branch
-m
${
GIT_MASTER
}
release-
${
VERSION
}
release
:
release-publish
:
@
git checkout release-
${
VERSION
}
@
git commit
-a
-m
"bumped version to
$(
VERSION
)
"
@$(
MAKE
)
changelog
@
git commit
-a
-m
"updated ChangeLog"
@
git push
@
git checkout release-devel
@
git merge
--no-ff
release-
${
VERSION
}
-m
"merge
${
APPNAME
}
-
${
VERSION
}
release"
@
git tag
-f
-m
"Added
${
APPNAME
}
-
${
VERSION
}
release tag"
${
APPNAME
}
-
${
VERSION
}
@
git push
--tags
origin
@$(
MAKE
)
rpms
release-cleanup
:
@
git branch
-D
release-
${
VERSION
}
test-cleanup
:
@
rm
-rf
${
APPNAME
}
-
${
VERSION
}
.test.tar.gz
@
echo
"Cleanup the git release-test local branch"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment