Kaydet (Commit) fb812fa6 authored tarafından mertcelen's avatar mertcelen

Commit message added as file comment.

üst e0009052
......@@ -48,7 +48,7 @@ jobs:
run: |
DEBIAN_FRONTEND=noninteractive sudo apt install jq -y 1>/dev/null 2>/dev/null
VERSION=`cat package/liman/server/storage/VERSION`
BRANCH="BRANCH : $GITHUB_REF"
BRANCH="BRANCH : ${GITHUB_REF#refs/heads/}"
BRANCH=$(echo $BRANCH | jq -SrR @uri)
COMMIT=`git --git-dir=package/liman/server/.git log -1 --pretty=%B | jq -SrR @uri`
DATE=$(date)
......@@ -82,4 +82,4 @@ jobs:
cd ../
dpkg-deb -Zgzip --build package
[ "$GITHUB_REF" == "refs/heads/master" ] && CHANNEL="liman-release" || CHANNEL="liman-dev-release"
curl -F "file=@/home/runner/work/liman/liman/package.deb" "https://slack.com/api/files.upload?token=xoxb-474187933397-695167035444-NFLf9tgYahuMsmeT7rwp5wnD&channels=$CHANNEL&filename=liman-$VERSION-$GITHUB_RUN_ID.deb&pretty=1&initial_comment=$BRANCH" || echo
curl -F "file=@/home/runner/work/liman/liman/package.deb" "https://slack.com/api/files.upload?token=xoxb-474187933397-695167035444-NFLf9tgYahuMsmeT7rwp5wnD&channels=$CHANNEL&filename=liman-$VERSION-$GITHUB_RUN_ID.deb&pretty=1&initial_comment=$COMMIT&title=$BRANCH" || echo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment