Skip to content

Commit 4ff44a7

Browse files
committed
Merge branch 'release/v0.5.0'
2 parents 09f8946 + 838e882 commit 4ff44a7

14 files changed

+4108
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
on:
2+
push:
3+
tags:
4+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
5+
6+
name: Upload Release
7+
8+
jobs:
9+
build:
10+
name: Upload Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
with:
16+
submodules: recursive
17+
- name: Get Branch Name
18+
id: branch_name
19+
run: |
20+
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
21+
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
22+
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
23+
- name: Set version number
24+
env:
25+
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
26+
run: |
27+
sed -i "s~\[Uncontrolled\]~${SOURCE_TAG}~g" Kicad/*.sch Kicad/*.kicad_pcb
28+
- name: Build project
29+
uses: nerdyscout/[email protected]
30+
with:
31+
config: 'Kicad/docs.kibot.yaml'
32+
dir: docs
33+
schema: 'Kicad/Neotron-Expansion-Template.sch'
34+
board: 'Kicad/Neotron-Expansion-Template.kicad_pcb'
35+
- name: Create Release
36+
id: create_release
37+
uses: actions/create-release@v1
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
with:
41+
tag_name: ${{ github.ref }}
42+
release_name: Release ${{ steps.branch_name.outputs.SOURCE_TAG }}
43+
draft: false
44+
prerelease: false
45+
- name: Build gerbers zip file
46+
env:
47+
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
48+
run: |
49+
zip -r --junk-paths neotron-expansion-template-gerbers-${SOURCE_TAG}.zip docs/gerbers/
50+
- name: Upload files to Release
51+
uses: softprops/action-gh-release@v1
52+
with:
53+
files: |
54+
neotron-expansion-template-gerbers-*.zip
55+
docs/*
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/kicad.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Kicad
2+
3+
on:
4+
push:
5+
paths:
6+
- '**.sch'
7+
- '**.lib'
8+
- '**.kicad_mod'
9+
- '**.kicad_pcb'
10+
pull_request:
11+
paths:
12+
- '**.sch'
13+
- '**.lib'
14+
- '**.kicad_mod'
15+
- '**.kicad_pcb'
16+
17+
jobs:
18+
Kicad:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v2
23+
with:
24+
submodules: recursive
25+
- name: Set version number
26+
env:
27+
GITHUB_SHA: ${{ github.sha }}
28+
run: |
29+
sed -i "s~\[Uncontrolled\]~${GITHUB_SHA:0:6}~g" Kicad/*.sch Kicad/*.kicad_pcb
30+
- name: Run KiBot
31+
uses: nerdyscout/[email protected]
32+
with:
33+
config: 'Kicad/docs.kibot.yaml'
34+
dir: docs
35+
schema: 'Kicad/Neotron-Expansion-Template.sch'
36+
board: 'Kicad/Neotron-Expansion-Template.kicad_pcb'
37+
- name: Upload Results
38+
uses: actions/upload-artifact@v2
39+
with:
40+
name: docs
41+
path: docs

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# For PCBs designed using KiCad: http://www.kicad-pcb.org/
2+
# Format documentation: http://kicad-pcb.org/help/file-formats/
3+
4+
# Temporary files
5+
*.000
6+
*.bak
7+
*.bck
8+
*.pro-bak
9+
*.kicad_pcb-bak
10+
*.sch-bak
11+
*~
12+
_autosave-*
13+
*.tmp
14+
*-save.pro
15+
*-save.kicad_pcb
16+
fp-info-cache
17+
18+
# Netlist files (exported from Eeschema)
19+
*.net
20+
21+
# Autorouter files (exported from Pcbnew)
22+
*.dsn
23+
*.ses
24+
25+
# Exported BOM files
26+
*.xml
27+
*.csv
28+
29+
# Autogenerated docs
30+
docs/
31+

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Kicad/Neotron-Common-Hardware"]
2+
path = Kicad/Neotron-Common-Hardware
3+
url = https://github.com/Neotron-Compute/Neotron-Common-Hardware

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## Unreleased Changes
4+
5+
## v0.5.0
6+
7+
* First version
8+

Kicad/Neotron-Common-Hardware

Submodule Neotron-Common-Hardware added at 28b35cf

0 commit comments

Comments
 (0)