Skip to content

Commit

Permalink
Set tlmgr version in daily release notes (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv authored Mar 21, 2023
1 parent 76abd29 commit 584ce05
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,10 @@ jobs:
build-linux:
needs: [new-release]
runs-on: ubuntu-latest
name: Build Bundles For Linux
runs-on: ubuntu-latest
outputs:
tlmgr-version: ${{ steps.tlmgr-version.outputs.TLMGR_VERSION }}

env:
CTAN_REPO: https://ctan.math.illinois.edu/systems/texlive/tlnet
Expand Down Expand Up @@ -176,6 +178,13 @@ jobs:

- run: ls -lisa

- name: Get Version information for daily build
id: tlmgr-version
run: |
echo "TLMGR_VERSION<<EOFTLMGR" >> $GITHUB_OUTPUT
~/bin/tlmgr version | sed -n '1p;3p' >> $GITHUB_OUTPUT
echo "EOFTLMGR" >> $GITHUB_OUTPUT
- name: Upload bundles
# this specific action is used at some issues have been observe with gh while uploading assets
# This allows to not fail the workflow on upload, but retry a few time
Expand Down Expand Up @@ -300,6 +309,14 @@ jobs:
run: |
echo "This release contains the daily build of TinyTeX ($(date +'%A %B %d %Y %r %Z'))." > notes.md
echo "Please see https://github.com/rstudio/tinytex-releases for more info." >> notes.md
echo "" >> notes.md
echo "## TeX Live version" >> notes.md
echo "" >> notes.md
echo '```' >> notes.md
cat <<EOF >> notes.md
${{ needs.build-linux.outputs.tlmgr-version }}
EOF
echo '```' >> notes.md
- name: Publish new release
run: |
Expand Down

0 comments on commit 584ce05

Please sign in to comment.