Skip to content

Commit

Permalink
Merge pull request #15 from sarnold/version-bumps
Browse files Browse the repository at this point in the history
Version bumps
  • Loading branch information
sarnold authored Mar 23, 2024
2 parents 3e79996 + af0ea97 commit af41728
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
os: [ubuntu-20.04, ubuntu-22.04]

runs-on: ${{ matrix.os }}
defaults:
Expand All @@ -25,19 +25,19 @@ jobs:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get version
if: matrix.os == 'ubuntu-20.04'
if: matrix.os == 'ubuntu-22.04'
id: get_version
run: |
echo "VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
echo "VERSION=$(git describe --abbrev=0 --tags --match 1*)" >> $GITHUB_ENV
echo ${{ env.VERSION }}
- name: Unset version
if: matrix.os == 'ubuntu-18.04'
if: matrix.os == 'ubuntu-20.04'
id: rm_version
run: |
echo "GIT_TAG=$(git describe --abbrev=0 --tags)"
Expand All @@ -62,7 +62,7 @@ jobs:
fi
- name: Checkout test repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: sarnold/gitchangelog
path: vendor/gcl-test
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
os: [ubuntu-22.04]

runs-on: ${{ matrix.os }}
defaults:
Expand All @@ -24,14 +24,14 @@ jobs:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get version
id: get_version
run: |
echo "VERSION=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV
echo "VERSION=$(git describe --abbrev=0 --tags --match 1*)" >> $GITHUB_ENV
echo ${{ env.VERSION }}
- name: gitchangelog action step (debug)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/sarnold/gitchangelog/releases/download/3.1.2/gitchangelog-3.1.2-py3-none-any.whl
https://github.com/sarnold/gitchangelog/releases/download/3.2.0/gitchangelog-3.2.0-py3-none-any.whl

0 comments on commit af41728

Please sign in to comment.