Skip to content

Commit 7c65e1a

Browse files
JarrettRphilippdonabauerpedrominatel
authored
KiCad PCM Support (#102)
* Rename and move the files to match the addons structure * Adding Python script to simplify the kicad addon release * Adding icon and clean up package.py script * Create release-kicad-addons.md * Added the GH Action on pre-release and added version as argument on package.py * Added the PCM install guide with screenshot on the README file * Changed KICAD6_3RD_PARTY to KICAD7_3RD_PARTY * Minor update on README.md --------- Co-authored-by: Philipp Donabauer <[email protected]> Co-authored-by: pedro.minatel <[email protected]>
1 parent e10a019 commit 7c65e1a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+321
-237
lines changed

.github/workflows/release.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Library Release PCM
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout Repository
14+
uses: actions/checkout@v3
15+
16+
- name: Get Tag Name
17+
uses: olegtarasov/[email protected]
18+
id: tagName
19+
20+
- name: Create the PCM package
21+
run: |
22+
echo "Release tag $GIT_TAG_NAME"
23+
python3 package.py $GIT_TAG_NAME
24+
25+
- name: Upload Release Asset
26+
id: upload-release-asset
27+
uses: actions/upload-release-asset@v1
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
with:
31+
upload_url: ${{ github.event.release.upload_url }}
32+
asset_path: ./build/espressif-kicad-addon.zip
33+
asset_name: espressif-kicad-addon.zip
34+
asset_content_type: application/zip

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ fp-info-cache
2525

2626
# Exported BOM files
2727
*.xml
28-
*.csv
28+
*.csv
29+
30+
# PCM build files
31+
build
32+
espressif-kicad-addon.zip

0 commit comments

Comments
 (0)