From: Miro Bezjak <bezjak.miro@gmail.com>
To: emacs-orgmode@gnu.org
Subject: makefile target: update to latest release?
Date: Fri, 8 Nov 2013 19:38:00 +0100 [thread overview]
Message-ID: <CAMJqDfMOht_BD4OwgFn6tKDrGqnzY33zoukR20OjhrdmVWzm8w@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
Hi all,
before attemting to implement the script I was wondering if there exists a
makefile target that updates the repository to the latest release? I was
thinking something along the lines of:
----------------------------------------
current=... # determine the current version
git checkout master
git pull origin master
latest=... # determine latest release from git log
git log --oneline $current...$latest
git checkout --branch $latest $latest
make clean autoloads
----------------------------------------
I looked at `mk/targets.mk` but didn't find anything similar.
Kind regards,
Miro
[-- Attachment #2: Type: text/html, Size: 736 bytes --]
next reply other threads:[~2013-11-08 18:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-08 18:38 Miro Bezjak [this message]
2013-11-08 19:20 ` makefile target: update to latest release? Josiah Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMJqDfMOht_BD4OwgFn6tKDrGqnzY33zoukR20OjhrdmVWzm8w@mail.gmail.com \
--to=bezjak.miro@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.