Skip to content

Update Release Notes Workflow #1055

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
218 changes: 218 additions & 0 deletions .github/release-notes.template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
# Vapor Release Notes

Because it is hard, if not impossible to keep the documentation up-to-date constantly, here you will find release notes of various different packages linked to the Vapor ecosystem.

## [vapor](https://github.com/vapor/vapor)
[**{{VAPOR_RELEASE}}**](https://github.com/vapor/vapor/releases/tag/{{VAPOR_ID}})

{{VAPOR_DESCRIPTION}}

---

## [fluent](https://github.com/vapor/fluent)
[**{{FLUENT_RELEASE}}**](https://github.com/vapor/fluent/releases/tag/{{FLUENT_ID}})

{{FLUENT_DESCRIPTION}}

---

## [fluent-kit](https://github.com/vapor/fluent-kit)
[**{{FLUENT_KIT_RELEASE}}**](https://github.com/vapor/fluent-kit/releases/tag/{{FLUENT_KIT_ID}})

{{FLUENT_KIT_DESCRIPTION}}

---

## [leaf](https://github.com/vapor/leaf)
[**{{LEAF_RELEASE}}**](https://github.com/vapor/leaf/releases/tag/{{LEAF_ID}})

{{LEAF_DESCRIPTION}}

---

## [leaf-kit](https://github.com/vapor/leaf-kit)
[**{{LEAF_KIT_RELEASE}}**](https://github.com/vapor/leaf-kit/releases/tag/{{LEAF_KIT_ID}})

{{LEAF_KIT_DESCRIPTION}}

---

## [fluent-postgres-driver](https://github.com/vapor/fluent-postgres-driver)
[**{{FLUENT_POSTGRES_DRIVER_RELEASE}}**](https://github.com/vapor/fluent-postgres-driver/releases/tag/{{FLUENT_POSTGRES_DRIVER_ID}})

{{FLUENT_POSTGRES_DRIVER_DESCRIPTION}}

---

## [fluent-mysql-driver](https://github.com/vapor/fluent-mysql-driver)
[**{{FLUENT_MYSQL_DRIVER_RELEASE}}**](https://github.com/vapor/fluent-mysql-driver/releases/tag/{{FLUENT_MYSQL_DRIVER_ID}})

{{FLUENT_MYSQL_DRIVER_DESCRIPTION}}

---

## [fluent-sqlite-driver](https://github.com/vapor/fluent-sqlite-driver)
[**{{FLUENT_SQLITE_DRIVER_RELEASE}}**](https://github.com/vapor/fluent-sqlite-driver/releases/tag/{{FLUENT_SQLITE_DRIVER_ID}})

{{FLUENT_SQLITE_DRIVER_DESCRIPTION}}

---

## [fluent-mongo-driver](https://github.com/vapor/fluent-mongo-driver)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this - we shouldn't be encouraging people to be using Fluent with Mongo

[**{{FLUENT_MONGO_DRIVER_RELEASE}}**](https://github.com/vapor/fluent-mongo-driver/releases/tag/{{FLUENT_MONGO_DRIVER_ID}})

{{FLUENT_MONGO_DRIVER_DESCRIPTION}}

---

## [postgres-nio](https://github.com/vapor/postgres-nio)
[**{{POSTGRES_NIO_RELEASE}}**](https://github.com/vapor/postgres-nio/releases/tag/{{POSTGRES_NIO_ID}})

{{POSTGRES_NIO_DESCRIPTION}}

---

## [mysql-nio](https://github.com/vapor/mysql-nio)
[**{{MYSQL_NIO_RELEASE}}**](https://github.com/vapor/mysql-nio/releases/tag/{{MYSQL_NIO_ID}})

{{MYSQL_NIO_DESCRIPTION}}

---

## [sqlite-nio](https://github.com/vapor/sqlite-nio)
[**{{SQLITE_NIO_RELEASE}}**](https://github.com/vapor/sqlite-nio/releases/tag/{{SQLITE_NIO_ID}})

{{SQLITE_NIO_DESCRIPTION}}

---

## [postgres-kit](https://github.com/vapor/postgres-kit)
[**{{POSTGRES_KIT_RELEASE}}**](https://github.com/vapor/postgres-kit/releases/tag/{{POSTGRES_KIT_ID}})

{{POSTGRES_KIT_DESCRIPTION}}

---

## [mysql-kit](https://github.com/vapor/mysql-kit)
[**{{MYSQL_KIT_RELEASE}}**](https://github.com/vapor/mysql-kit/releases/tag/{{MYSQL_KIT_ID}})

{{MYSQL_KIT_DESCRIPTION}}

---

## [sqlite-kit](https://github.com/vapor/sqlite-kit)
[**{{SQLITE_KIT_RELEASE}}**](https://github.com/vapor/sqlite-kit/releases/tag/{{SQLITE_KIT_ID}})

{{SQLITE_KIT_DESCRIPTION}}

---

## [sql-kit](https://github.com/vapor/sql-kit)
[**{{SQL_KIT_RELEASE}}**](https://github.com/vapor/sql-kit/releases/tag/{{SQL_KIT_ID}})

{{SQL_KIT_DESCRIPTION}}

---

## [apns](https://github.com/vapor/apns)
[**{{APNS_RELEASE}}**](https://github.com/vapor/apns/releases/tag/{{APNS_ID}})

{{APNS_DESCRIPTION}}

---

## [queues](https://github.com/vapor/queues)
[**{{QUEUES_RELEASE}}**](https://github.com/vapor/queues/releases/tag/{{QUEUES_ID}})

{{QUEUES_DESCRIPTION}}

---

## [queues-redis-driver](https://github.com/vapor/queues-redis-driver)
[**{{QUEUES_REDIS_DRIVER_RELEASE}}**](https://github.com/vapor/queues-redis-driver/releases/tag/{{QUEUES_REDIS_DRIVER_ID}})

{{QUEUES_REDIS_DRIVER_DESCRIPTION}}

---

## [redis](https://github.com/vapor/redis)
[**{{REDIS_RELEASE}}**](https://github.com/vapor/redis/releases/tag/{{REDIS_ID}})

{{REDIS_DESCRIPTION}}

---

## [jwt](https://github.com/vapor/jwt)
[**{{JWT_RELEASE}}**](https://github.com/vapor/jwt/releases/tag/{{JWT_ID}})

{{JWT_DESCRIPTION}}

---

## [jwt-kit](https://github.com/vapor/jwt-kit)
[**{{JWT_KIT_RELEASE}}**](https://github.com/vapor/jwt-kit/releases/tag/{{JWT_KIT_ID}})

{{JWT_KIT_DESCRIPTION}}

---

## [websocket-kit](https://github.com/vapor/websocket-kit)
[**{{WEBSOCKET_KIT_RELEASE}}**](https://github.com/vapor/websocket-kit/releases/tag/{{WEBSOCKET_KIT_ID}})

{{WEBSOCKET_KIT_DESCRIPTION}}

---

## [routing-kit](https://github.com/vapor/routing-kit)
[**{{ROUTING_KIT_RELEASE}}**](https://github.com/vapor/routing-kit/releases/tag/{{ROUTING_KIT_ID}})

{{ROUTING_KIT_DESCRIPTION}}

---

## [console-kit](https://github.com/vapor/console-kit)
[**{{CONSOLE_KIT_RELEASE}}**](https://github.com/vapor/console-kit/releases/tag/{{CONSOLE_KIT_ID}})

{{CONSOLE_KIT_DESCRIPTION}}

---

## [async-kit](https://github.com/vapor/async-kit)
[**{{ASYNC_KIT_RELEASE}}**](https://github.com/vapor/async-kit/releases/tag/{{ASYNC_KIT_ID}})

{{ASYNC_KIT_DESCRIPTION}}

---

## [multipart-kit](https://github.com/vapor/multipart-kit)
[**{{MULTIPART_KIT_RELEASE}}**](https://github.com/vapor/multipart-kit/releases/tag/{{MULTIPART_KIT_ID}})

{{MULTIPART_KIT_DESCRIPTION}}

---

## [toolbox](https://github.com/vapor/toolbox)
[**{{TOOLBOX_RELEASE}}**](https://github.com/vapor/toolbox/releases/tag/{{TOOLBOX_ID}})

{{TOOLBOX_DESCRIPTION}}

---

## [core](https://github.com/vapor/core)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is long dead!

[**{{CORE_RELEASE}}**](https://github.com/vapor/core/releases/tag/{{CORE_ID}})

{{CORE_DESCRIPTION}}

---

## [swift-codecov-action](https://github.com/vapor/swift-codecov-action)
[**{{SWIFT_CODECOV_ACTION_RELEASE}}**](https://github.com/vapor/swift-codecov-action/releases/tag/{{SWIFT_CODECOV_ACTION_ID}})

{{SWIFT_CODECOV_ACTION_DESCRIPTION}}

---

## [api-docs](https://github.com/vapor/api-docs)
[**{{API_DOCS_RELEASE}}**](https://github.com/vapor/api-docs/releases/tag/{{API_DOCS_ID}})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't tag releases so can remove this I think


{{API_DOCS_DESCRIPTION}}
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,8 @@ on:
push:
branches:
- main
repository_dispatch:
types: [deploy-trigger]

jobs:
deploy:
287 changes: 287 additions & 0 deletions .github/workflows/update-release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,287 @@
name: Update Vapor Release Notes
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
# - cron: '0 0 * * *' # Daily at Midnight
# - cron: '0 0 * * 0' # Weekly every Sunday at Midnight
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the ones we're not using

- cron: '0 0 */14 * 0' # Every two weeks on Sunday at Midnight
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be happy with daily if it's not too noisy

# - cron: '0 0 1 * *' # Every first of the month at Midnight
workflow_dispatch:

jobs:
fetch-release-notes:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- id: vapor_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/vapor

- id: fluent_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/fluent

- id: fluent_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/fluent-kit

- id: leaf_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/leaf

- id: leaf_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/leaf-kit

- id: fluent_postgres_driver_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/fluent-postgres-driver

- id: fluent_mysql_driver_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/fluent-mysql-driver

- id: fluent_sqlite_driver_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/fluent-sqlite-driver

- id: fluent_mongo_driver_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/fluent-mongo-driver

- id: postgres_nio_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/postgres-nio

- id: mysql_nio_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/mysql-nio

- id: sqlite_nio_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/sqlite-nio

- id: postgres_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/postgres-kit

- id: mysql_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/mysql-kit

- id: sqlite_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/sqlite-kit

- id: sql_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/sql-kit

- id: apns_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/apns

- id: queues_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/queues

- id: queues_redis_driver_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/queues-redis-driver

- id: redis_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/redis

- id: jwt_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/jwt

- id: jwt_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/jwt-kit

- id: websocket_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/websocket-kit

- id: routing_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/routing-kit

- id: console_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/console-kit

- id: async_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/async-kit

- id: multipart_kit_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/multipart-kit

- id: toolbox_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/toolbox

- id: core_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/core

- id: swift_codecov_action_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/swift-codecov-action

- id: api_docs_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: vapor/api-docs

- name: Generate Release Notes from Template
run: |
sed \
-e "s/{{VAPOR_RELEASE}}/${{ steps.vapor_release.outputs.release }}/g" \
-e "s/{{VAPOR_ID}}/${{ steps.vapor_release.outputs.id }}/g" \
-e "s/{{VAPOR_DESCRIPTION}}/${{ steps.vapor_release.outputs.description }}/g" \
-e "s/{{FLUENT_RELEASE}}/${{ steps.fluent_release.outputs.release }}/g" \
-e "s/{{FLUENT_ID}}/${{ steps.fluent_release.outputs.id }}/g" \
-e "s/{{FLUENT_DESCRIPTION}}/${{ steps.fluent_release.outputs.description }}/g" \
-e "s/{{FLUENT_KIT_RELEASE}}/${{ steps.fluent_kit_release.outputs.release }}/g" \
-e "s/{{FLUENT_KIT_ID}}/${{ steps.fluent_kit_release.outputs.id }}/g" \
-e "s/{{FLUENT_KIT_DESCRIPTION}}/${{ steps.fluent_kit_release.outputs.description }}/g" \
-e "s/{{LEAF_RELEASE}}/${{ steps.leaf_release.outputs.release }}/g" \
-e "s/{{LEAF_ID}}/${{ steps.leaf_release.outputs.id }}/g" \
-e "s/{{LEAF_DESCRIPTION}}/${{ steps.leaf_release.outputs.description }}/g" \
-e "s/{{LEAF_KIT_RELEASE}}/${{ steps.leaf_kit_release.outputs.release }}/g" \
-e "s/{{LEAF_KIT_ID}}/${{ steps.leaf_kit_release.outputs.id }}/g" \
-e "s/{{LEAF_KIT_DESCRIPTION}}/${{ steps.leaf_kit_release.outputs.description }}/g" \
-e "s/{{FLUENT_POSTGRES_DRIVER_RELEASE}}/${{ steps.fluent_postgres_driver_release.outputs.release }}/g" \
-e "s/{{FLUENT_POSTGRES_DRIVER_ID}}/${{ steps.fluent_postgres_driver_release.outputs.id }}/g" \
-e "s/{{FLUENT_POSTGRES_DRIVER_DESCRIPTION}}/${{ steps.fluent_postgres_driver_release.outputs.description }}/g" \
-e "s/{{FLUENT_MYSQL_DRIVER_RELEASE}}/${{ steps.fluent_mysql_driver_release.outputs.release }}/g" \
-e "s/{{FLUENT_MYSQL_DRIVER_ID}}/${{ steps.fluent_mysql_driver_release.outputs.id }}/g" \
-e "s/{{FLUENT_MYSQL_DRIVER_DESCRIPTION}}/${{ steps.fluent_mysql_driver_release.outputs.description }}/g" \
-e "s/{{FLUENT_SQLITE_DRIVER_RELEASE}}/${{ steps.fluent_sqlite_driver_release.outputs.release }}/g" \
-e "s/{{FLUENT_SQLITE_DRIVER_ID}}/${{ steps.fluent_sqlite_driver_release.outputs.id }}/g" \
-e "s/{{FLUENT_SQLITE_DRIVER_DESCRIPTION}}/${{ steps.fluent_sqlite_driver_release.outputs.description }}/g" \
-e "s/{{FLUENT_MONGO_DRIVER_RELEASE}}/${{ steps.fluent_mongo_driver_release.outputs.release }}/g" \
-e "s/{{FLUENT_MONGO_DRIVER_ID}}/${{ steps.fluent_mongo_driver_release.outputs.id }}/g" \
-e "s/{{FLUENT_MONGO_DRIVER_DESCRIPTION}}/${{ steps.fluent_mongo_driver_release.outputs.description }}/g" \
-e "s/{{POSTGRES_NIO_RELEASE}}/${{ steps.postgres_nio_release.outputs.release }}/g" \
-e "s/{{POSTGRES_NIO_ID}}/${{ steps.postgres_nio_release.outputs.id }}/g" \
-e "s/{{POSTGRES_NIO_DESCRIPTION}}/${{ steps.postgres_nio_release.outputs.description }}/g" \
-e "s/{{MYSQL_NIO_RELEASE}}/${{ steps.mysql_nio_release.outputs.release }}/g" \
-e "s/{{MYSQL_NIO_ID}}/${{ steps.mysql_nio_release.outputs.id }}/g" \
-e "s/{{MYSQL_NIO_DESCRIPTION}}/${{ steps.mysql_nio_release.outputs.description }}/g" \
-e "s/{{SQLITE_NIO_RELEASE}}/${{ steps.sqlite_nio_release.outputs.release }}/g" \
-e "s/{{SQLITE_NIO_ID}}/${{ steps.sqlite_nio_release.outputs.id }}/g" \
-e "s/{{SQLITE_NIO_DESCRIPTION}}/${{ steps.sqlite_nio_release.outputs.description }}/g" \
-e "s/{{POSTGRES_KIT_RELEASE}}/${{ steps.postgres_kit_release.outputs.release }}/g" \
-e "s/{{POSTGRES_KIT_ID}}/${{ steps.postgres_kit_release.outputs.id }}/g" \
-e "s/{{POSTGRES_KIT_DESCRIPTION}}/${{ steps.postgres_kit_release.outputs.description }}/g" \
-e "s/{{MYSQL_KIT_RELEASE}}/${{ steps.mysql_kit_release.outputs.release }}/g" \
-e "s/{{MYSQL_KIT_ID}}/${{ steps.mysql_kit_release.outputs.id }}/g" \
-e "s/{{MYSQL_KIT_DESCRIPTION}}/${{ steps.mysql_kit_release.outputs.description }}/g" \
-e "s/{{SQLITE_KIT_RELEASE}}/${{ steps.sqlite_kit_release.outputs.release }}/g" \
-e "s/{{SQLITE_KIT_ID}}/${{ steps.sqlite_kit_release.outputs.id }}/g" \
-e "s/{{SQLITE_KIT_DESCRIPTION}}/${{ steps.sqlite_kit_release.outputs.description }}/g" \
-e "s/{{SQL_KIT_RELEASE}}/${{ steps.sql_kit_release.outputs.release }}/g" \
-e "s/{{SQL_KIT_ID}}/${{ steps.sql_kit_release.outputs.id }}/g" \
-e "s/{{SQL_KIT_DESCRIPTION}}/${{ steps.sql_kit_release.outputs.description }}/g" \
-e "s/{{APNS_RELEASE}}/${{ steps.apns_release.outputs.release }}/g" \
-e "s/{{APNS_ID}}/${{ steps.apns_release.outputs.id }}/g" \
-e "s/{{APNS_DESCRIPTION}}/${{ steps.apns_release.outputs.description }}/g" \
-e "s/{{QUEUES_RELEASE}}/${{ steps.queues_release.outputs.release }}/g" \
-e "s/{{QUEUES_ID}}/${{ steps.queues_release.outputs.id }}/g" \
-e "s/{{QUEUES_DESCRIPTION}}/${{ steps.queues_release.outputs.description }}/g" \
-e "s/{{QUEUES_REDIS_DRIVER_RELEASE}}/${{ steps.queues_redis_driver_release.outputs.release }}/g" \
-e "s/{{QUEUES_REDIS_DRIVER_ID}}/${{ steps.queues_redis_driver_release.outputs.id }}/g" \
-e "s/{{QUEUES_REDIS_DRIVER_DESCRIPTION}}/${{ steps.queues_redis_driver_release.outputs.description }}/g" \
-e "s/{{REDIS_RELEASE}}/${{ steps.redis_release.outputs.release }}/g" \
-e "s/{{REDIS_ID}}/${{ steps.redis_release.outputs.id }}/g" \
-e "s/{{REDIS_DESCRIPTION}}/${{ steps.redis_release.outputs.description }}/g" \
-e "s/{{JWT_RELEASE}}/${{ steps.jwt_release.outputs.release }}/g" \
-e "s/{{JWT_ID}}/${{ steps.jwt_release.outputs.id }}/g" \
-e "s/{{JWT_DESCRIPTION}}/${{ steps.jwt_release.outputs.description }}/g" \
-e "s/{{JWT_KIT_RELEASE}}/${{ steps.jwt_kit_release.outputs.release }}/g" \
-e "s/{{JWT_KIT_ID}}/${{ steps.jwt_kit_release.outputs.id }}/g" \
-e "s/{{JWT_KIT_DESCRIPTION}}/${{ steps.jwt_kit_release.outputs.description }}/g" \
-e "s/{{WEBSOCKET_KIT_RELEASE}}/${{ steps.websocket_kit_release.outputs.release }}/g" \
-e "s/{{WEBSOCKET_KIT_ID}}/${{ steps.websocket_kit_release.outputs.id }}/g" \
-e "s/{{WEBSOCKET_KIT_DESCRIPTION}}/${{ steps.websocket_kit_release.outputs.description }}/g" \
-e "s/{{ROUTING_KIT_RELEASE}}/${{ steps.routing_kit_release.outputs.release }}/g" \
-e "s/{{ROUTING_KIT_ID}}/${{ steps.routing_kit_release.outputs.id }}/g" \
-e "s/{{ROUTING_KIT_DESCRIPTION}}/${{ steps.routing_kit_release.outputs.description }}/g" \
-e "s/{{CONSOLE_KIT_RELEASE}}/${{ steps.console_kit_release.outputs.release }}/g" \
-e "s/{{CONSOLE_KIT_ID}}/${{ steps.console_kit_release.outputs.id }}/g" \
-e "s/{{CONSOLE_KIT_DESCRIPTION}}/${{ steps.console_kit_release.outputs.description }}/g" \
-e "s/{{ASYNC_KIT_RELEASE}}/${{ steps.async_kit_release.outputs.release }}/g" \
-e "s/{{ASYNC_KIT_ID}}/${{ steps.async_kit_release.outputs.id }}/g" \
-e "s/{{ASYNC_KIT_DESCRIPTION}}/${{ steps.async_kit_release.outputs.description }}/g" \
-e "s/{{MULTIPART_KIT_RELEASE}}/${{ steps.multipart_kit_release.outputs.release }}/g" \
-e "s/{{MULTIPART_KIT_ID}}/${{ steps.multipart_kit_release.outputs.id }}/g" \
-e "s/{{MULTIPART_KIT_DESCRIPTION}}/${{ steps.multipart_kit_release.outputs.description }}/g" \
-e "s/{{TOOLBOX_RELEASE}}/${{ steps.toolbox_release.outputs.release }}/g" \
-e "s/{{TOOLBOX_ID}}/${{ steps.toolbox_release.outputs.id }}/g" \
-e "s/{{TOOLBOX_DESCRIPTION}}/${{ steps.toolbox_release.outputs.description }}/g" \
-e "s/{{CORE_RELEASE}}/${{ steps.core_release.outputs.release }}/g" \
-e "s/{{CORE_ID}}/${{ steps.core_release.outputs.id }}/g" \
-e "s/{{CORE_DESCRIPTION}}/${{ steps.core_release.outputs.description }}/g" \
-e "s/{{SWIFT_CODECOV_ACTION_RELEASE}}/${{ steps.swift_codecov_action_release.outputs.release }}/g" \
-e "s/{{SWIFT_CODECOV_ACTION_ID}}/${{ steps.swift_codecov_action_release.outputs.id }}/g" \
-e "s/{{SWIFT_CODECOV_ACTION_DESCRIPTION}}/${{ steps.swift_codecov_action_release.outputs.description }}/g" \
-e "s/{{API_DOCS_RELEASE}}/${{ steps.api_docs_release.outputs.release }}/g" \
-e "s/{{API_DOCS_ID}}/${{ steps.api_docs_release.outputs.id }}/g" \
-e "s/{{API_DOCS_DESCRIPTION}}/${{ steps.api_docs_release.outputs.description }}/g" \
.github/release-notes.template.md > docs/release-notes.md
- name: Commit and Push Changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git add docs/release-notes.md
git commit -m 'Update Vapor Release Notes'
git push
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given a commit to main deploys anyway, do we need this trigger below?

- name: Trigger Deploy Workflow
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
event-type: deploy-trigger
65 changes: 0 additions & 65 deletions docs/release-notes.es.md

This file was deleted.

65 changes: 0 additions & 65 deletions docs/release-notes.it.md

This file was deleted.

122 changes: 91 additions & 31 deletions docs/release-notes.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My one concern here is that new deployments will wipe out the release notes. This is also going to get overwritten almost straight away and then just committed. Will put this is the main body

Original file line number Diff line number Diff line change
@@ -2,64 +2,124 @@

Because it is hard, if not impossible to keep the documentation up-to-date constantly, here you will find release notes of various different packages linked to the Vapor ecosystem.

## vapor
## [vapor](https://github.com/vapor/vapor)

## fluent
---

## fluent-kit
## [fluent](https://github.com/vapor/fluent)

## leaf
---

## leaf-kit
## [fluent-kit](https://github.com/vapor/fluent-kit)

## fluent-postgres-driver
---

## fluent-mysql-driver
## [leaf](https://github.com/vapor/leaf)

## fluent-sqlite-driver
---

## fluent-mongo-driver
## [leaf-kit](https://github.com/vapor/leaf-kit)

## postgres-nio
---

## mysql-nio
## [fluent-postgres-driver](https://github.com/vapor/fluent-postgres-driver)

## sqlite-nio
---

## postgres-kit
## [fluent-mysql-driver](https://github.com/vapor/fluent-mysql-driver)

## mysql-kit
---

## sqlite-kit
## [fluent-sqlite-driver](https://github.com/vapor/fluent-sqlite-driver)

## sql-kit
---

## apns
## [fluent-mongo-driver](https://github.com/vapor/fluent-mongo-driver)

## queues
---

## queues-redis-driver
## [postgres-nio](https://github.com/vapor/postgres-nio)

## redis
---

## jwt
## [mysql-nio](https://github.com/vapor/mysql-nio)

## jwt-kit
---

## websocket-kit
## [sqlite-nio](https://github.com/vapor/sqlite-nio)

## routing-kit
---

## console-kit
## [postgres-kit](https://github.com/vapor/postgres-kit)

## async-kit
---

## multipart-kit
## [mysql-kit](https://github.com/vapor/mysql-kit)

## toolbox
---

## core
## [sqlite-kit](https://github.com/vapor/sqlite-kit)

## swift-codecov-action
---

## api-docs
## [sql-kit](https://github.com/vapor/sql-kit)

---

## [apns](https://github.com/vapor/apns)

---

## [queues](https://github.com/vapor/queues)

---

## [queues-redis-driver](https://github.com/vapor/queues-redis-driver)

---

## [redis](https://github.com/vapor/redis)

---

## [jwt](https://github.com/vapor/jwt)

---

## [jwt-kit](https://github.com/vapor/jwt-kit)

---

## [websocket-kit](https://github.com/vapor/websocket-kit)

---

## [routing-kit](https://github.com/vapor/routing-kit)

---

## [console-kit](https://github.com/vapor/console-kit)

---

## [async-kit](https://github.com/vapor/async-kit)

---

## [multipart-kit](https://github.com/vapor/multipart-kit)

---

## [toolbox](https://github.com/vapor/toolbox)

---

## [core](https://github.com/vapor/core)

---

## [swift-codecov-action](https://github.com/vapor/swift-codecov-action)

---

## [api-docs](https://github.com/vapor/api-docs)