Skip to content

Commit

Permalink
fix(beancount): fava ci extracted the current version is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
y0ngb1n authored Sep 14, 2024
1 parent f094984 commit 7ba5d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/fava-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
export TZ='Asia/Shanghai'
echo "build_date=$(date '+%Y-%m-%d-%H-%M-%S')" >> $GITHUB_OUTPUT
local_version=v`sed -nr 's/ARG FAVA_VERSION="(.*)"/\1/p' beancount/fava/Dockerfile`
local_version=v`sed -nr 's/ARG FAVA_PIP_VERSION="(.*)"/\1/p' beancount/fava/Dockerfile`
latest_version=$(curl -sSL -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/beancount/fava/tags | jq -r '.[0].name')
if [ "$local_version" != "$latest_version" ]; then
Expand Down

0 comments on commit 7ba5d08

Please sign in to comment.