Skip to content

Commit

Permalink
chore(*): Prepare release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Feb 19, 2024
1 parent 3bb24d5 commit 09ecb1a
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 36 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/add-ons-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
branches:
- main
paths-ignore:
- '**.md'
- "**.md"
pull_request:
paths-ignore:
- '**.md'
- "**.md"
schedule:
- cron: '25 08 * * *'
- cron: "25 08 * * *"
workflow_dispatch:

permissions:
Expand All @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ddev_version: [ stable, HEAD ]
ddev_version: [stable, HEAD]
add_on:
- ddev/ddev-redis-commander
- ddev/ddev-mongo
Expand All @@ -37,13 +37,12 @@ jobs:
runs-on: ubuntu-latest

steps:

- name: Clone current repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Retrieve last tag of add-on
run: |
echo "ADD_ON_LAST_TAG=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/${{ matrix.add_on }}/releases/latest | grep -oP "\/tag\/\K(.*)$")" >> $GITHUB_ENV
echo "ADD_ON_LAST_TAG=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/${{ matrix.add_on }}/releases/latest | grep -oP "\/tag\/\K(.*)$")" >> $GITHUB_ENV
- name: Run add-on test (${{ matrix.ddev_version }})
uses: ./
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
name: Keep Alive
on:

schedule:
- cron: '0 3 * * 4'
- cron: "0 3 * * 4"

permissions:
contents: write

jobs:
keep-alive:

name: Keep Alive
runs-on: ubuntu-latest

steps:

- name: Clone project files
uses: actions/checkout@v3
uses: actions/checkout@v4

# keepalive-workflow adds a dummy commit if there's no other action here, keeps
# GitHub from turning off tests after 60 days
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ jobs:
name: Markdown files test and update
runs-on: ubuntu-latest
steps:

- name: Clone sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: sources

Expand All @@ -35,6 +34,6 @@ jobs:
- uses: technote-space/toc-generator@v4
with:
MAX_HEADER_LEVEL: 3
TARGET_PATHS: 'README.md'
TARGET_PATHS: "README.md"
CHECK_ONLY_DEFAULT_BRANCH: true
CREATE_PR: true
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
- name: Set major tag with v
run: |
echo "MAJOR_TAG=$(echo ${{ env.VERSION_NUMBER }} | cut -d. -f1)" >> $GITHUB_ENV
echo "MAJOR_TAG=$(echo ${{ env.VERSION_NUMBER }} | cut -d. -f1)" >> $GITHUB_ENV
- name: Clone sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check version ${{ env.VERSION_NUMBER }} consistency in CHANGELOG and README
run: |
Expand All @@ -58,7 +58,7 @@ jobs:
echo "CHANGELOG VERSION KO"
exit 1
fi
# Check top [_Compare with previous release_](GITHUB_URL/compare/vLAST_TAG...VERSION_NUMBER) in CHANGELOG.md
if [[ ${{ github.event.inputs.first-release }} != "true" ]]
then
Expand All @@ -74,7 +74,7 @@ jobs:
exit 1
fi
fi
# Check first major tag uses in README
README_VERSION=$(grep -E "$GITHUB_REPOSITORY@v(.*)" README.md | sed 's/ //g' | head -1)
echo $README_VERSION
Expand All @@ -86,7 +86,7 @@ jobs:
echo "Major tag in README.md: KO"
exit 1
fi
# Check second major tags uses in README
README_VERSION=$(grep -E "$GITHUB_REPOSITORY@v(.*)" README.md | sed 's/ //g' | tail -1)
echo $README_VERSION
Expand Down Expand Up @@ -140,8 +140,7 @@ jobs:
contents: write

steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
39 changes: 25 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en)
Expand All @@ -8,54 +9,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

The [public API](https://semver.org/spec/v2.0.0.html#spec-item-1) of this project is defined by the `action.yaml` file.

---

## [v1.2.0](https://github.com/ddev/github-action-add-on-test/releases/tag/v1.2.0) - 2024-02-19

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v1.1.1...v1.2.0)

### Changed

- Update `actions/checkout` to v4 for Node 20 ([PR #26](https://github.com/ddev/github-action-add-on-test/pull/26))

---

## [v1.1.1](https://github.com/ddev/github-action-add-on-test/releases/tag/v1.1.1) - 2023-10-29
[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v1.1.0...v1.1.1)

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v1.1.0...v1.1.1)

### Fixed

- Turn off instrumentation for tests ([PR #23](https://github.com/ddev/github-action-add-on-test/pull/23))
- Turn off instrumentation for tests ([PR #23](https://github.com/ddev/github-action-add-on-test/pull/23))

---

## [v1.1.0](https://github.com/ddev/github-action-add-on-test/releases/tag/v1.1.0) - 2023-09-20
[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v1.0.0...v1.1.0)

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v1.0.0...v1.1.0)

### Changed

- Install `bats-file` by default ([@see PR #19](https://github.com/ddev/github-action-add-on-test/pull/19))
- Install `bats-file` by default ([@see PR #19](https://github.com/ddev/github-action-add-on-test/pull/19))

---

## [v1.0.0](https://github.com/ddev/github-action-add-on-test/releases/tag/v1.0.0) - 2023-08-25
[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.6.0...v1.0.0)

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.6.0...v1.0.0)

### Changed

- Install `bats-assert` and friends by default ([@see PR #15](https://github.com/ddev/github-action-add-on-test/pull/15))
- Install `bats-assert` and friends by default ([@see PR #15](https://github.com/ddev/github-action-add-on-test/pull/15))

---


## [v0.6.0](https://github.com/ddev/github-action-add-on-test/releases/tag/v0.6.0) - 2023-08-21
[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.5.0...v0.6.0)

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.5.0...v0.6.0)

### Changed

- Move (or create) the major version tag (such as `v1`, `v2`) to point to the Git ref of the current release ([@see #11](https://github.com/ddev/github-action-add-on-test/issues/11))

---


## [v0.5.0](https://github.com/ddev/github-action-add-on-test/releases/tag/v0.5.0) - 2023-08-21
[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.4.0...v0.5.0)

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.4.0...v0.5.0)

### Added

Expand All @@ -64,19 +72,18 @@ The [public API](https://semver.org/spec/v2.0.0.html#spec-item-1) of this projec
---

## [v0.4.0](https://github.com/ddev/github-action-add-on-test/releases/tag/v0.4.0) - 2023-08-21
[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.3.0...v0.4.0)

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.3.0...v0.4.0)

### Changed

- Run `keepalive-workflow` step even if a previous step failed

---


## [v0.3.0](https://github.com/ddev/github-action-add-on-test/releases/tag/v0.3.0) - 2023-08-11
[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.2.0...v0.3.0)

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.2.0...v0.3.0)

### Added

Expand All @@ -85,11 +92,12 @@ The [public API](https://semver.org/spec/v2.0.0.html#spec-item-1) of this projec
---

## [v0.2.0](https://github.com/ddev/github-action-add-on-test/releases/tag/v0.2.0) - 2023-08-10

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.1.0...v0.2.0)

### Removed

- Remove `edge` for `ddev_version` input
- Remove `edge` for `ddev_version` input

### Added

Expand All @@ -98,14 +106,17 @@ The [public API](https://semver.org/spec/v2.0.0.html#spec-item-1) of this projec
---

## [v0.1.0](https://github.com/ddev/github-action-add-on-test/releases/tag/v0.1.0) - 2023-08-07

[_Compare with previous release_](https://github.com/ddev/github-action-add-on-test/compare/v0.0.1...v0.1.0)

### Changed

- Use choice (`stable`, `edge`, `HEAD`) for `ddev_version` input instead of a free string

---

## [v0.0.1](https://github.com/ddev/github-action-add-on-test/releases/tag/v0.0.1) - 2023-07-10

### Added

- Initial release

0 comments on commit 09ecb1a

Please sign in to comment.