From 9e0f43173d522d4b47dc76b74e0bec52446b3ce5 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Wed, 26 Aug 2020 10:15:50 -0400 Subject: [PATCH] Add basic changelog and drone setup --- .drone.yml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ CHANGELOG.md | 6 ++++++ README.md | 4 ++++ 3 files changed, 59 insertions(+) create mode 100644 .drone.yml create mode 100644 CHANGELOG.md diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e054894 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,49 @@ +--- +kind: pipeline +type: docker +name: default + +trigger: + event: + - tag + +platform: + os: linux + arch: arm64 + +volumes: + - name: cache + temp: {} + +environment: + DEBIAN_FRONTEND: noninteractive + +steps: + - name: build + image: golang:1.15 + pull: always + volumes: + - name: cache + path: /drone/src/out + commands: + - cd /drone/src + - go build -o out/wifi cmd/wifi/wifi.go + - cp CHANGELOG.md out/ + - name: gitea-release + image: plugins/gitea-release + volumes: + - name: cache + path: /opt/artifacts + settings: + api_key: + from_secret: gitea_token + base_url: https://git.kemonine.info + title: ${DRONE_TAG} + note: Please see the CHANGELOG.md file for details + files: + - /opt/artifacts/* + checksum: + - md5 + - sha1 + - sha256 + - sha512 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9b50474 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6 @@ +# Change Log + +## 20200826-1 + +- Initial bring up of the wifi configuration utility +- Setup drone to auto-build snapshot releases diff --git a/README.md b/README.md index c2814e8..5a91f91 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ The go sources for various PiFrame commands, etc used by the project. +# Releases + +Releases are snapshot builds of the entire repo. We tag/build when we feel the code is ready for release. There is no 'schedule' other than 'its ready'. + # Licensing Unless otherwise stated all source code is licensed under the [Apache 2 License](LICENSE-APACHE-2.0.txt).