adium/adium
Clone
Summary
Browse
Changes
Graph
Adium 1.5.2 is done!
adium-1.5.2
1.5.2
2012-07-21, Thijs Alkemade
80cc358134ea
file is
Executable
Adium 1.5.2 is done!
#!/bin/bash
# You need to set NIGHTLY_HOST, NIGHTLY_USER, NIGHTLY_REPO, and NIGHTLY_BRANCH in environment, and have your
# public key in the authorized_keys file on the nightly server.
# Set our working directory to be the parent of this script, in case we're run
# from somewhere else.
PARENT
=
$(
dirname
$0
)
cd
${
PARENT
:-
.
}
ADIUM_RELEASE_NAME
=
`
head
-n
1
build/latest.info
|
tail
-n
1
`
# Create ${NIGHTLY_REPO}-${NIGHTLY_BRANCH} directory, if it doesn't exist
ssh
${
NIGHTLY_USER
}
@
${
NIGHTLY_HOST
}
"ls -d
${
NIGHTLY_REPO
}
-
${
NIGHTLY_BRANCH
}
|| mkdir
${
NIGHTLY_REPO
}
-
${
NIGHTLY_BRANCH
}
"
scp
build/latest.info
build/
${
ADIUM_RELEASE_NAME
}
.dmg.md5
build/
${
ADIUM_RELEASE_NAME
}
.dmg
${
NIGHTLY_USER
}
@
${
NIGHTLY_HOST
}
:
${
NIGHTLY_REPO
}
-
${
NIGHTLY_BRANCH
}
ssh
${
NIGHTLY_USER
}
@
${
NIGHTLY_HOST
}
chmod
go+r
${
NIGHTLY_REPO
}
-
${
NIGHTLY_BRANCH
}
/
${
ADIUM_RELEASE_NAME
}
.dmg
${
NIGHTLY_REPO
}
-
${
NIGHTLY_BRANCH
}
/latest.info
${
NIGHTLY_REPO
}
-
${
NIGHTLY_BRANCH
}
/
${
ADIUM_RELEASE_NAME
}
.dmg.md5