Skip to content

Commit

Permalink
use shorthash in version name
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 authored and tamaina committed Jul 18, 2024
1 parent b360bce commit 2693cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
git fetch origin $head
git checkout FETCH_HEAD
brew install jaq
jaq --in-place ".version += \"-commit.$(git log --oneline | wc -l)+$(git rev-parse HEAD)\"" package.json
jaq --in-place ".version += \"-commit.$(git log --oneline | wc -l)+$(git rev-parse --short HEAD)\"" package.json
docker build -t "ghcr.io/misskey-dev/0key.dev:$GITHUB_REF_NAME-misskey" .
docker push "ghcr.io/misskey-dev/0key.dev:$GITHUB_REF_NAME-misskey"
echo "digest=$(docker image ls --format '{{.Digest}}' | head -n1)" > $GITHUB_OUTPUT
Expand Down

0 comments on commit 2693cfb

Please sign in to comment.