-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create pipeline to build multiple version
- Loading branch information
Showing
5 changed files
with
71 additions
and
31 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,30 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p HEAD | ||
git fetch --all --tags | ||
tags_string=$(git tag) | ||
echo got tag string | ||
echo $tags_string | ||
tags_array=($tags_string) | ||
mv * HEAD | ||
for tag in "${tags_array[@]}" | ||
do | ||
echo starting with tag $tag | ||
mkdir $tag | ||
cd $tag | ||
git clone https://github.com/eclipse-dataspace-dcp/decentralized-claims-protocol.git --depth 1 --branch ${tag} --quiet | ||
pwd | ||
mv ./decentralized-claims-protocol/* . | ||
cd .. | ||
done | ||
pwd | ||
for dir in */; do | ||
if [ -f "$dir/index.html" ]; then | ||
echo "index exists." | ||
mkdir -p $dir/resources | ||
cp -r $dir/artifacts/src/main/resources/* $dir/resources | ||
rm -rf $dir/artifacts | ||
else | ||
echo "index does not exist. No copy operations" | ||
fi | ||
done |
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,14 @@ | ||
<!DOCTYPE HTML> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="refresh" | ||
content="0;url=https://eclipse-dataspace-dcp.github.io/decentralized-claims-protocol/HEAD"/> | ||
<link rel="canonical" href="https://eclipse-dataspace-dcp.github.io/decentralized-claims-protocol/HEAD"/> | ||
</head> | ||
<body> | ||
<h4> | ||
This redirects to the latest working draft <a href="https://eclipse-dataspace-dcp.github.io/decentralized-claims-protocol/HEAD">here</a> | ||
</h4> | ||
</body> | ||
</html> |
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
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
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