Projects
Tools
arcanist
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 16
View file
arcanist.spec
Changed
@@ -1,9 +1,10 @@ +%define revision_date 20161022 %define git_short_version_hash e17fe43 %define git_full_version_hash e17fe43ca3fe6dc6dd0b5ce056f56310ea1d3d51 Summary: A command line interface to Phabricator Name: arcanist -Version: 20161022.gite17fe43 +Version: %{revision_date}.git%{git_short_version_hash} Release: 1%{?dist} License: ASL 2.0 @@ -61,6 +62,9 @@ %{_bindir}/arc %changelog +* Tue Nov 29 2016 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 20161022.gite17fe43-1 +- Promote Week #42 2016 + * Mon Oct 24 2016 Jeroen van Meeuwen (Ergo Project) <jeroen.van.meeuwen@ergo-project.org> - 20161022.gite17fe43-1 - Promote Week #42
View file
update.sh
Changed
@@ -46,16 +46,21 @@ fi sed -i -r \ - -e "s/git_short_version_hash .*/git_short_version_hash ${git_short_version_hash}/g" \ - -e "s/git_full_version_hash .*/git_full_version_hash ${git_full_version_hash}/g" \ - -e "s/Version:(\s+)0-9+/Version:\1${commitdate}/g" \ + -e "s/git_short_version_hash .*$/git_short_version_hash ${git_short_version_hash}/g" \ + -e "s/git_full_version_hash .*$/git_full_version_hash ${git_full_version_hash}/g" \ + -e "s/revision_date 0-9+$/revision_date ${commitdate}/g" \ -e "s/Requires:(\s+)arcanist\(libphutil\) >= 0-9+/Requires:\1arcanist\(libphutil\) >= ${month_behind}/g" \ -e "s/Requires:(\s+)arcanist\(libphutil\) <= 0-9+/Requires:\1arcanist\(libphutil\) <= ${month_ahead}/g" \ arcanist.spec rpmdev-bumpspec \ --new="${commitdate}.git${git_short_version_hash}" \ - --comment "Promote Week #$(date +%V --date ${commitdate})" \ + --comment "Promote Week #$(date +'%V %Y' --date ${commitdate})" \ + arcanist.spec + +# Thanks, rpmdev-bumpspec ... +sed -i -r \ + -e "s/^Version:(\s+).*$/Version:\1%{revision_date}.git%{git_short_version_hash}/g" \ arcanist.spec rm -rf *.src.rpm
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.