@ -3,4 +3,5 @@ RUN DEBIAN_FRONTENT=noninteractive && \
apt-get update && apt-get -y install jq curl gettext-base
COPY bin/ /opt/resource/
COPY tag /opt/resource/version
RUN chmod +x /opt/resource/*
@ -18,7 +18,8 @@ payload=$(mktemp /tmp/resource-in.XXXXXX)
cat > "${payload}" <&0
echo "Matrix-Notification-Resource Version: 1.0.0"
version=$(cat version)
echo "Matrix-Notification-Resource Version: ${version}"
matrix_server_url="$(jq -r '.source.matrix_server_url' < "${payload}")"
token="$(jq -r '.source.token' < "${payload}")"
@ -1 +1 @@
1.0.1
1.0.2