This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Given a git repo with at least one branch (for example "tags/A") | |
## which should be transformed into a tag | |
for t in `git branch -r | grep tags | perl -pi -e "s/origin\///"`; do | |
echo ============================ $t ; | |
REV=`git log -1 --pretty=%h origin/$t`; | |
COMMENT=`git log -1 --pretty=%s origin/$t`; | |
TAG=`echo $t | cut -d'/' -f2`; | |
echo $t .. $REV .. $COMMENT .. $TAG; | |
git tag -a $TAG -m "$COMMENT" $REV; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<version>${smartBuildNumber}</version> | |
.... | |
<build> |
NewerOlder