Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng committed Apr 1, 2023
1 parent 32d7ddf commit d1f9fd3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
docker_version: "20220301"
- name: "texlive2020"
docker_version: "20210301"
name: "release pinned version [${{ pinned_version.name }}]"
name: "release pinned version [${{ matrix.pinned_version.name }}]"
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
Expand All @@ -26,8 +26,8 @@ jobs:
git config --global user.email "[email protected]"
- name: Create pinned version
run: |
TAG_VERSION="${GITHUB_REF#refs/tags/}-${{ pinned_version.name }}"
sed -i 's|texlive-full:latest|texlive-full:${{ pinned_version.docker_version }}|g' 'Dockerfile'
TAG_VERSION="${GITHUB_REF#refs/tags/}-${{ matrix.pinned_version.name }}"
sed -i 's|texlive-full:latest|texlive-full:${{ matrix.pinned_version.docker_version }}|g' 'Dockerfile'
git checkout -b "${TAG_VERSION}"
git add Dockerfile
git commit -m "Release ${TAG_VERSION}"
Expand Down

0 comments on commit d1f9fd3

Please sign in to comment.