Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release

# A release from its request (`release.jl request`) to its close; see CTActions
# docs/workflows/release.md.

on:
workflow_dispatch:
inputs:
version:
description: 'The version whose request starts the release (empty: a wake-up)'
required: false
type: string
pull_request:
types: [labeled]
workflow_run:
workflows: [CI, Documentation, Breakage, Release gate, Release tag]
types: [completed]
branches: ['release/v*', main]
schedule:
- cron: '23 * * * *'

jobs:
call:
permissions:
contents: write
issues: write
pull-requests: read
actions: write
checks: read
uses: control-toolbox/CTActions/.github/workflows/release.yml@main
with:
version: ${{ inputs.version }}
# the App's key is a secret of the environment `release`: it reaches the reusable
# workflow's jobs only when inherited (CTActions docs/workflows/release.md#caller)
secrets: inherit
8 changes: 4 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ is not the pinned tag, (re)create it:

```bash
rm -rf .ct-conventions
git -c advice.detachedHead=false clone --quiet --depth 1 --branch v0.12.0 https://github.com/control-toolbox/ct-conventions.git .ct-conventions
git -c advice.detachedHead=false clone --quiet --depth 1 --branch v0.13.0 https://github.com/control-toolbox/ct-conventions.git .ct-conventions
```

**Pinned version: ct-conventions v0.12.0.** Cite rules by identifier (`MOD3`, `TST1`), and
**Pinned version: ct-conventions v0.13.0.** Cite rules by identifier (`MOD3`, `TST1`), and
state the version you applied in plans and reports.

Read in this order:
Expand Down Expand Up @@ -75,10 +75,10 @@ not the pinned tag, (re)create it:

```bash
rm -rf .ct-agents
git -c advice.detachedHead=false clone --quiet --depth 1 --branch v0.4.0 https://github.com/control-toolbox/ct-agents.git .ct-agents
git -c advice.detachedHead=false clone --quiet --depth 1 --branch v0.5.0 https://github.com/control-toolbox/ct-agents.git .ct-agents
```

**Pinned version: ct-agents v0.4.0.** State it, with the ct-conventions version, in
**Pinned version: ct-agents v0.5.0.** State it, with the ct-conventions version, in
plans and reports.

- **Release.** When asked, in any language, to prepare a release, follow
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ See [BREAKING.md](BREAKING.md).
- `vanderpol`, `robbins` and `jackson` are written in the ModelingToolkit modeling too, with a
Lagrange cost, a Mayer cost, state and control bounds (#439).

### 📚 Documentation

- ct-conventions pinned at `v0.13.0` and ct-agents at `v0.5.0` in `AGENTS.md`; the `Release` workflow of CTActions is called from `.github/workflows/Release.yml`.

### 📦 Dependencies

- OptimalControl 2.2, CTModels 0.19, CTBase 0.30.
Expand Down
Loading