Skip to content

Commit

Permalink
Release v4.8.1 (#151)
Browse files Browse the repository at this point in the history
## Details
<!-- Provide a sentence or two describing what the PR changes -->

No QA needed
  • Loading branch information
dequejenn authored Jan 11, 2024
2 parents f17a4dc + eead870 commit 934df5a
Show file tree
Hide file tree
Showing 33 changed files with 568 additions and 197 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @dequelabs/axe-api-team
10 changes: 9 additions & 1 deletion .github/scripts/prepare_release.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ set -e
releaseLevel="$1"

oldVersion="$(node -pe 'require("./package.json").version')"
npx commit-and-tag-version --release-as "$releaseLevel" --skip.commit=true --skip.changelog=true --skip.tag=true

# If no release level is specified, let commit-and-tag-version handle versioning
if [ -z "$releaseLevel" ]
then
npx commit-and-tag-version --skip.commit=true --skip.changelog=true --skip.tag=true
else
npx commit-and-tag-version --release-as "$releaseLevel" --skip.commit=true --skip.changelog=true --skip.tag=true
fi

newVersion="$(node -pe 'require("./package.json").version')"

sed -i -e "s/<VersionPrefix>$oldVersion<\/VersionPrefix>/<VersionPrefix>$newVersion<\/VersionPrefix>/" ./packages/*/src/*.csproj
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/auto-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
create_patch_release:
name: Create release
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Determine if we skip cancel checks
id: skip-checks
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
build-and-test:
name: Build and test
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v2
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/create-release-candidate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Create release candidate

on:
workflow_dispatch:
inputs:
version-locked:
type: boolean
description: Prevent this action from creating a minor or major release
default: true

jobs:
create-release-candidate:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: dequelabs/axe-api-team-public/.github/actions/create-release-candidate-v1@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: "master"
head: "develop"
release-script-path: "./.github/scripts/prepare_release.sh"
version-locked: ${{ inputs.version-locked }}
env:
GH_TOKEN: ${{ secrets.GH_PROJECT_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
create_release:
name: Create release
runs-on: ubuntu-latest
timeout-minutes: 2
permissions:
pull-requests: write
contents: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop
- release

jobs:
build-and-test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-nuget-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
if: github.repository_owner == 'dequelabs' # don't attempt to publish from forks
needs: ["publish-nuget"]
runs-on: ubuntu-latest
timeout-minutes: 2
permissions:
contents: write # this permission controls release creation
steps:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/semantic-pr-footer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Semantic PR footer

on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize

jobs:
semantic-pr-footer:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: dequelabs/axe-api-team-public/.github/actions/semantic-pr-footer-v1@main
1 change: 1 addition & 0 deletions .github/workflows/semantic-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ on:
jobs:
semantic-pr-title:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: dequelabs/semantic-pr-title@v1
1 change: 1 addition & 0 deletions .github/workflows/sync-master-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
create_sync_pull_request:
runs-on: ubuntu-latest
timeout-minutes: 2
permissions:
pull-requests: write
if: github.event.pull_request.merged == 'true'
Expand Down
31 changes: 7 additions & 24 deletions .github/workflows/update-axe-core.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,20 @@
name: Update axe-core

on: [workflow_dispatch]
on:
schedule:
# Run every night at midnight
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- id: update
uses: dequelabs/update-axe-core@v1
- id: type
run: |
CommitType=""
if [ "${{ steps.update.outputs.patch_version_updated }}" == "true" ]; then
CommitType="fix"
elif [ "${{ steps.update.outputs.minor_version_updated }}" == "true" ]; then
CommitType="feat"
elif [ "${{ steps.update.outputs.major_version_updated }}" == "true" ]; then
CommitType="feat"
fi
echo "type=$CommitType" >>"$GITHUB_OUTPUT"
- name: Open PR
uses: peter-evans/create-pull-request@v4
- uses: dequelabs/axe-api-team-public/.github/actions/create-update-axe-core-pull-request-v1@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: '${{ steps.type.outputs.type }}: Update axe-core to v${{ steps.update.outputs.version }}'
branch: auto-update-axe-core
base: develop
title: '${{ steps.type.outputs.type }}: Update axe-core to v${{ steps.update.outputs.version }}'
body: |
This patch updates version of [`axe-core`](https://npmjs.org/axe-core) to v${{ steps.update.outputs.version }}.

This PR was opened by a robot :robot: :tada:.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [4.8.1](https://github.com/dequelabs/axe-core-nuget/compare/v4.8.0...v4.8.1) (2024-01-09)


### Bug Fixes

* Update axe-core to v4.8.3 ([#147](https://github.com/dequelabs/axe-core-nuget/issues/147)) ([91bade8](https://github.com/dequelabs/axe-core-nuget/commit/91bade81f0af324d63e1abe52d84d0466ea13006))
* work with extremely large results ([#135](https://github.com/dequelabs/axe-core-nuget/issues/135)) ([74b02ac](https://github.com/dequelabs/axe-core-nuget/commit/74b02ac75c0b906152d9d70eee8f5f33a6bdb66a)), closes [#80](https://github.com/dequelabs/axe-core-nuget/issues/80)



## [4.8.0](https://github.com/dequelabs/axe-core-nuget/compare/v4.7.2...v4.8.0) (2023-09-27)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "axe-core-nuget",
"description": "this file is used by release workflows as the source of truth for the current version of all NuGet packages",
"version": "4.8.0",
"version": "4.8.1",
"license": "MPL-2.0 AND MIT",
"repository": "dequelabs/axe-core-nuget",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/commons/src/Deque.AxeCore.Commons.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<EnableNETAnalyzers>true</EnableNETAnalyzers>

<!-- Do not update this by-hand; updates are automated via the create-release workflow -->
<VersionPrefix>4.8.0</VersionPrefix>
<VersionPrefix>4.8.1</VersionPrefix>
<VersionSuffix>development</VersionSuffix>
</PropertyGroup>

Expand Down
14 changes: 7 additions & 7 deletions packages/commons/src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/commons/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"repository": {},
"license": "MIT",
"dependencies": {
"axe-core": "4.8.2"
"axe-core": "^4.8.3"
}
}
Loading

0 comments on commit 934df5a

Please sign in to comment.