-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit eccc914
Showing
27 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Word Input | ||
HTD Test Case and extensions Word files. | ||
|
||
### Funding acknowledment | ||
|
||
<img alt="European Flag" src="https://erigrid2.eu/wp-content/uploads/2020/03/europa_flag_low.jpg" align="left" style="margin-right: 10px"/> The development of test-case-descriptions-excel-input has been supported by the [ERIGrid 2.0](https://erigrid2.eu) project of the H2020 Programme under [Grant Agreement No. 870620](https://cordis.europa.eu/project/id/870620) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
set -o nounset | ||
|
||
owner_url=$1 | ||
repo_name=$2 | ||
latest_url=$(wget https://github.com/${owner_url}/${repo_name}/releases/latest --max-redirect=0 2>&1 | grep Location) | ||
prefix="Location: https://github.com/${owner_url}/${repo_name}/releases/tag/" | ||
suffix=" [following]" | ||
tail=${latest_url#"$prefix"} | ||
release_version=${tail%"$suffix"} | ||
major=`echo $release_version | cut -d. -f1` | ||
minor=`echo $release_version | cut -d. -f2` | ||
revision=`echo $release_version | cut -d. -f3` | ||
found_untagged_version=false | ||
check_version=0.0.0 | ||
while ! $found_untagged_version; | ||
do | ||
revision=`expr $revision + 1` | ||
check_version=${major}.${minor}.${revision} | ||
check_url=https://github.com/${owner_url}/${repo_name}/releases/tag/$check_version | ||
check=$(wget $check_url &> /dev/null) | ||
if [ $? == 8 ]; | ||
then | ||
found_untagged_version=true | ||
fi | ||
done | ||
echo $check_version |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.