From 826b3f9ad81ca9608e9c9331bb93bf7866499cb6 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Thu, 21 Oct 2021 19:49:02 +1100 Subject: [PATCH] Man page release workflow wip --- .github/workflows/release-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index bd5cad4b..0fc1166e 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -27,7 +27,7 @@ jobs: --to man --variable=title:"YQ" --variable=section:"1" - --variable=header:"yq (https://github.com/mikefarah/yq/) version ${GITHUB_REF/refs\/tags\//}" + --variable=header:"yq (https://github.com/mikefarah/yq/) version ${GITHUB_REF##*/}" --variable=author:"Mike Farah" --output=yq.1 ${{ steps.gen-man-page-md.outputs.man-page-md }} @@ -37,6 +37,7 @@ jobs: sudo apt-get install rhash -y go get github.com/mitchellh/gox mkdir -p build + cat yq.1 cp yq.1 build/yq.1 ./scripts/xcompile.sh