Skip to content

Commit

Permalink
print metadata about UI release
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jan 25, 2023
1 parent c20870b commit f879af5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workspace/scripts/08-install-pioreactorui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ if [ "$LEADER" == "1" ]; then
sudo pip3 install --no-cache-dir --no-binary pyyaml pyyaml

# get latest pioreactorUI code from Github.
latest_tag=$(curl -sS https://api.github.com/repos/pioreactor/pioreactorui/releases/latest | sed -Ene '/^ *"tag_name": *"(.+)",$/s//\1/p')
latest_release=$(curl -sS https://api.github.com/repos/pioreactor/pioreactorui/releases/latest)
echo "Release data: $latest_release"
latest_tag=$(echo "$latest_release" | sed -Ene '/^ *"tag_name": *"(.+)",$/s//\1/p')
echo "Installing UI version $latest_tag"
curl -sS -o pioreactorui.tar.gz -JLO https://github.com/pioreactor/pioreactorui/archive/"$latest_tag".tar.gz
tar -xzf pioreactorui.tar.gz
Expand Down

0 comments on commit f879af5

Please sign in to comment.