Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Losh
iterate
Commits
0e93db17
Commit
0e93db17
authored
May 06, 2006
by
Attila Lendvai
Browse files
Added release.sh
darcs-hash:2e62363caa481a6a036357e1c806c6561f6677e8
parent
5ce1d9d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/release.sh
0 → 100755
View file @
0e93db17
#!/bin/sh
VERSION
=
$1
ARCHIVE_NAME
=
iterate-
"
$VERSION
"
.tar.gz
ARCHIVE_PATH
=
"/project/iterate/public_html/releases"
ARCHIVE_FULLNAME
=
"
$ARCHIVE_PATH
/
$ARCHIVE_NAME
"
if
[
-e
"
$ARCHIVE_FULLNAME
"
]
;
then
echo
"
$ARCHIVE_FULLNAME
already exists"
exit
-1
fi
echo
"Don't forget to tag the darcs repo! Creating release
$ARCHIVE_FULLNAME
, press enter to continue..."
read
cd
/project/iterate/darcs
cp
-r
iterate iterate-
$VERSION
tar
--exclude
=
"iterate*/_darcs*"
-zvcf
"
$ARCHIVE_FULLNAME
"
iterate-
$VERSION
rm
-rf
iterate-
$VERSION
cd
"
$ARCHIVE_PATH
"
gpg
-b
-a
"
$ARCHIVE_NAME
"
ln
-fs
"
$ARCHIVE_NAME
"
iterate-current.tar.gz
ln
-fs
"
$ARCHIVE_NAME
"
.asc iterate-current.tar.gz.asc
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment