maybe this is better?

This commit is contained in:
jonaswinkler 2021-01-10 23:09:09 +01:00
parent 8927e0185b
commit bce79189e5

View File

@ -160,8 +160,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${GITHUB_REF#refs/heads/}
release_name: Paperless-ng ${GITHUB_REF#refs/heads/}
tag_name: ${{ GITHUB_REF#refs/heads/ }}
release_name: Paperless-ng ${{ GITHUB_REF#refs/heads/ }}
draft: true
prerelease: true
-
@ -173,7 +173,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./paperless-ng.tar.xz
asset_name: paperless-ng-${GITHUB_REF#refs/heads/}.tar.xz
asset_name: paperless-ng-${{ GITHUB_REF#refs/heads/ }}.tar.xz
asset_content_type: application/x-xz
# build and push image to docker hub.