[go: up one dir, main page]

Menu

[8ad4e8]: / release.sh  Maximize  Restore  History

Download this file

42 lines (32 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
###############################################################################
# Parameters:
# 1. Yubikey Pin (mandatory)
###############################################################################
# Parse command line arguments
if [ $# -lt 1 ]; then
echo "PIN for Yubikey missing. Exiting script. Usage:"
echo "$0 <YUBIKEY_PIN>"
exit 1
fi
YUBIKEY_PIN=$1
# Increase version number
source ./increase_version_number.sh
# Delete old jars and create new jars
./create_new_jars.sh
# Sign new jars
./sign_jars.sh $YUBIKEY_PIN
# Create zip file
./create_zip_file.sh
# Create git commit and git tag
./git_commit.sh $NEW_VERSION
# Inform the user what manual steps still need to be done:
echo "############################"
echo "Script completed. The following manual steps are needed:"
echo "1. Please manually add an entry for the new version in the following file: ./h1updatesite/README.md"
echo "2. Push your changes: "
echo "2.1 git push #push commits"
echo "2.2 git push --tags #push new tag"
echo "3. Update the update sites"
echo "3.1 https://devtools.his.de/ecl1/"
echo "3.2 https://sourceforge.net/projects/ecl1/files/"