-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(cli): Bump CLI version to 2.26.0
- Loading branch information
Showing
3 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Test get latest tag | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
bump: | ||
description: "Bump the version of the API" | ||
type: choice | ||
required: true | ||
default: "patch" | ||
options: | ||
- "patch" | ||
- "minor" | ||
- "major" | ||
- "prepatch" | ||
- "preminor" | ||
- "premajor" | ||
env: | ||
DRAFT: ${{ contains(inputs.bump, 'pre') }} | ||
|
||
jobs: | ||
release: | ||
name: Create a release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Git pull | ||
run: git pull | ||
|
||
- name: Get last tag (that is not a `pre` tag) for api | ||
id: last_tag | ||
run: | | ||
echo "last_tag=$(git tag --list | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+@api$' | sort -r | head -n 1)" >> $GITHUB_OUTPUT | ||
echo "last_tag=$(git tag --list | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+@api$' | sort -r | head -n 1)" >> $GITHUB_STEP_SUMMARY | ||
- name: Find Tag | ||
id: tagger | ||
uses: jimschubert/query-tag-action@v1 | ||
with: | ||
include: "v*@api" | ||
exclude: "v*a*@api" | ||
commit-ish: "HEAD~" | ||
|
||
- name: Show Tag | ||
id: display | ||
run: | | ||
echo 'Output from Find Tag: ${{steps.tagger.outputs.tag}}' | ||
- uses: oprypin/find-latest-tag@v1 | ||
id: chipmunk_version | ||
with: | ||
repository: ${{ github.repository }} | ||
releases-only: false # This repository doesn't use GitHub's "release" feature. | ||
regex: '^v[0-9]+\.[0-9]+\.[0-9]+@api$' | ||
|
||
- name: Show latest tag | ||
run: echo "Latest tag is ${{ steps.chipmunk_version.outputs.tag }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.25.1 | ||
2.26.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "ecoindex_cli" | ||
version = "2.25.1" | ||
version = "2.26.0" | ||
description = "`ecoindex-cli` is a CLI tool that let you make ecoindex tests on given pages" | ||
authors = ['Vincent Vatelot <[email protected]>'] | ||
license = "Creative Commons BY-NC-ND" | ||
|
57fa122
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Branch coverage •