Skip to content

Commit bee116d

Browse files
committed
Merge branch 'release/v0.1.0'
2 parents a06a8e8 + f126f2f commit bee116d

File tree

4 files changed

+57
-3
lines changed

4 files changed

+57
-3
lines changed

.github/workflows/release.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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
14+
uses: actions/checkout@v1
15+
with:
16+
submodules: true
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: Install GCC ARM
24+
run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi
25+
- name: Add Target
26+
run: rustup target add thumbv6m-none-eabi
27+
- name: Build Release
28+
run: cargo build --release --verbose
29+
- name: Create Release
30+
id: create_release
31+
uses: actions/create-release@v1
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
with:
35+
tag_name: ${{ github.ref }}
36+
release_name: Release ${{ steps.branch_name.outputs.SOURCE_TAG }}
37+
draft: false
38+
prerelease: false
39+
- name: Upload files to Release
40+
uses: softprops/action-gh-release@v1
41+
with:
42+
files: |
43+
target/thumbv6m-none-eabi/release/neotron-pico-bios
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/rust.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
uses: actions/checkout@v1
1313
with:
1414
submodules: true
15+
- name: Install GCC ARM
16+
run: sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi
1517
- name: Add Target
1618
run: rustup target add thumbv6m-none-eabi
1719
- name: Build

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changelog
2+
3+
## Unreleased Changes ([Source](https://github.com/neotron-compute/neotron-pico-bios/tree/master) | [Changes](https://github.com/neotron-compute/neotron-pico-bios/compare/v0.1.0...master))
4+
5+
* None
6+
7+
## v0.1.0 ([Source](https://github.com/neotron-compute/neotron-pico-bios/tree/v0.1.0) | [Release](https://github.com/neotron-compute/neotron-pico-bios/release/tag/v0.1.0))
8+
9+
* First release - it compiles, and blinks an LED.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ updates) for performance reasons.
3737

3838
## Changelog
3939

40-
### Unreleased Changes ([Source](https://github.com/neotron-compute/neotron-pico-bios/tree/master))
41-
42-
* It blinks an LED.
40+
See [CHANGELOG.md](./CHANGELOG.md)
4341

4442
## Licence
4543

0 commit comments

Comments
 (0)