Skip to content

Commit

Permalink
ci: Initialize CI pipelines
Browse files Browse the repository at this point in the history
Add release-please
  • Loading branch information
XavierBrassoud committed Feb 16, 2024
1 parent f624ea9 commit 0522279
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 9 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- main
- ci/init

permissions:
contents: write
pull-requests: write

name: release-please

jobs:

release-please:
runs-on: ubuntu-22.04
steps:
# Add packages to update into release-please-config.json
- name: Write new version to packages
uses: google-github-actions/release-please-action@v3
with:
command: manifest
token: ${{ secrets.MAINTAINER_PAT }}
1 change: 0 additions & 1 deletion examples/blink/blink.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @author Xavier BRASSOUD ([email protected])
* @brief Blinks the power LED using the Epson_PNL_CE02 library.
* @version 1.0
* @date 2023-12-27
*
* @copyright MIT license
*
Expand Down
1 change: 0 additions & 1 deletion examples/buttons/buttons.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @brief A basic buttons playground using Epson_PNL_CE02 library.
* Get an advanced usage of buttons in the OneButton sketch.
* @version 1.0
* @date 2023-12-22
*
* @copyright MIT license
*
Expand Down
1 change: 0 additions & 1 deletion examples/display/display.ino
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* parallel interface.
* This sketch running only on Arduino MEGA 2560.
* @version 1.0
* @date 2023-12-28
*
* @copyright MIT license
*
Expand Down
1 change: 0 additions & 1 deletion examples/full/full.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @brief Full playground using Epson_PNL_CE02 library with OneButton library
* and MCUFRIEND_kbv. See "display" example to wire the display correctly.
* @version 1.0
* @date 2023-12-22
*
* @copyright MIT license
*
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Epson_PNL_CE02
version=0.0.0
version=0.0.0 # x-release-please-version
author=Xavier BRASSOUD <[email protected]>
maintainer=Xavier BRASSOUD <[email protected]>
sentence=Library to repurposing the control panel (PNL CE02) of EPSON XP 520/530/540 printers from an Arduino.
Expand Down
21 changes: 21 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "simple",
"draft": false,
"prerelease": false,
"extra-files": [
"library.properties",
{
"type": "json",
"path": "library.json",
"jsonpath": "$.version"
},
"src/Epson_PNL_CE02.h",
"src/Epson_PNL_CE02.cpp"
]
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
3 changes: 1 addition & 2 deletions src/Epson_PNL_CE02.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
* 🔺 Require a 10k pull-up resistor wired between 3.3V and Arduino pin
*
*
* @version 0.0
* @date 2023-12-22
* @version 0.0 # x-release-please-version
*
* @copyright MIT license
*/
Expand Down
3 changes: 1 addition & 2 deletions src/Epson_PNL_CE02.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
* 🔺 Require a 10k pull-up resistor wired between 3.3V and Arduino pin
*
*
* @version 0.0
* @date 2023-12-22
* @version 0.0 # x-release-please-version
*
* @copyright MIT license
*/
Expand Down

0 comments on commit 0522279

Please sign in to comment.