[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] makefile target: update to latest release?

From: Miro Bezjak
Subject: [O] makefile target: update to latest release?
Date: Fri, 8 Nov 2013 19:38:00 +0100

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,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]