Skip to content

Commit 3a4f715

Browse files
Added browser/webdriver version to release notes
1 parent 8dbd1c4 commit 3a4f715

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/docker-publish-webkitwebdriver.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,15 @@ jobs:
9393
run: |
9494
git tag v$RELEASE_TAG
9595
git push origin v$RELEASE_TAG
96-
MINIBROWSER_VERSION=`docker run --rm $IMAGE_NAME:latest bash -c "cd /opt/bin && bash entry_point.sh & sleep 5 && /usr/lib/*-linux-gnu/webkit2gtk-4.0/MiniBrowser --version" | tail -n 1`
97-
EPIPHANY_VERSION=`run --rm $IMAGE_NAME:latest bash -c "epiphany --version" | tail -n 1
9896
echo "$RELEASE_TAG is published to Docker Hub at [$IMAGE_NAME](https://hub.docker.com/r/$IMAGE_NAME/tags) and contains the following resources: " > release_notes.md
9997
echo "" >> release_notes.md
98+
MINIBROWSER_VERSION=`docker run --rm $IMAGE_NAME:latest bash -c "cd /opt/bin && bash entry_point.sh & sleep 5 && /usr/lib/*-linux-gnu/webkit2gtk-4.0/MiniBrowser --version" | tail -n 1`
10099
echo "MiniBrowser: $MINIBROWSER_VERSION" >> release_notes
101100
echo "WebKitWebDriver: $MINIBROWSER_VERSION" >> release_notes
102-
echo "Epiphany: $EPIPHANY_VERSION" >> release_notes
101+
if echo "$IMAGE_NAME" | grep -q "epiphany"; then
102+
EPIPHANY_VERSION=`docker run --rm $IMAGE_NAME:latest bash -c "epiphany --version" | tail -n 1`
103+
echo "Epiphany: $EPIPHANY_VERSION" >> release_notes
104+
fi
103105
REPO=`echo $GITHUB_REPOSITORY | tr '/' '\n' | tail -n 1`
104106
go install github.com/github-release/[email protected]
105107
echo "Set release notes"

0 commit comments

Comments
 (0)