mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2026-01-18 06:34:41 +01:00
12 lines
204 B
Bash
12 lines
204 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
VERSION=`cat VERSION`
|
|
|
|
if [[ $GITHUB_REF == "refs/heads/master" ]]; then
|
|
echo "::set-env name=TAGS::latest,${VERSION}"
|
|
else
|
|
echo "::set-env name=TAGS::dev,${VERSION}-dev"
|
|
fi
|