Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1848140

Browse files
deanberrisglynos
authored andcommitted
We want to standardize the packaging across releases.
1 parent52e7797 commit1848140

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

‎package.sh‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/sh
2+
#
3+
# Copyright 2012 Dean Michael Berris <dberris@google.com>
4+
# Copyright 2012 Google, Inc.
5+
# Distributed under the Boost Software License, Version 1.0.
6+
# (See accompanying file LICENSE_1_0.txt or copy at
7+
# http://www.boost.org/LICENSE_1_0.txt)
8+
#
9+
10+
VERSION="$1"
11+
if ["$VERSION"=="" ];then
12+
VERSION="`git log --format=oneline| awk'{print $1}'| head -1`"
13+
fi
14+
15+
TAG="cpp-netlib-$VERSION"
16+
git tag$TAG
17+
echo"Tagged$TAG."
18+
19+
git archive --prefix=cpp-netlib-$VERSION/ --format=zip$TAG>cpp-netlib-$VERSION.zip
20+
git archive --prefix=cpp-netlib-$VERSION/ --format=tar$TAG| gzip>cpp-netlib-$VERSION.tar.gz
21+
git archive --prefix=cpp-netlib-$VERSION/ --format=tar$TAG| bzip2>cpp-netlib-$VERSION.tar.bz2
22+
echo"Packaged$TAG."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp