Skip to content

Commit

Permalink
ci: updates the ser env
Browse files Browse the repository at this point in the history
  • Loading branch information
Dele Omotosho committed Sep 1, 2023
1 parent 51e44ab commit 9e30bfc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/compileandrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [ env/r ]

env:
SEMVERBOT_VERSION: "1.0.0"

jobs:
build_latex:
runs-on: ubuntu-latest
Expand All @@ -15,10 +18,12 @@ jobs:
uses: xu-cheng/latex-action@v2
with:
root_file: main.tex

- name: install semverbot
run: |
curl -o bin/sbot -L https://github.com/restechnica/semverbot/releases/download/v$SEMVERBOT_VERSION/sbot-linux-amd64
chmod +x bin/sbot
- name: update version
run: |
sbot update version
Expand All @@ -37,7 +42,7 @@ jobs:
sbot push version
- name: Generate Changelog
run: git log "$CURRENT_VERSION"..."$RELEASE_VERSION" --pretty=%s --first-parent > ${{ github.workspace }}-CHANGELOG.txt
run: git log ${{ env.CURRENT_VERSION }}... ${{ env.RELEASE_VERSION }} --pretty=%s --first-parent > ${{ github.workspace }}-CHANGELOG.txt

- name: Create Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 9e30bfc

Please sign in to comment.