Skip to content

Commit

Permalink
Release (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Aug 18, 2020
1 parent b9f387e commit 9e5dc77
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 6 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Release

on:
push:
tags:
- '*'

jobs:
publish:
name: Release for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
artifact_name: didc
asset_name: didc-linux64
- os: macos-latest
artifact_name: didc
asset_name: didc-macos
- os: ubuntu-latest
artifact_name: candiff
asset_name: candiff-linux64
- os: macos-latest
artifact_name: candiff
asset_name: candiff-macos

steps:
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions/checkout@v2
- name: Build
run: cargo build --release --locked
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}
23 changes: 19 additions & 4 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@

# Rust changelog
# Changelog

## 0.5.2 (2020-08-14)
## 2020-08-18

### Tools

* Publish `didc` and `candiff` binary as asserts in the release
* Generate JS tests from the Candid test suites

## 2020-08-14

### Spec

* No longer requires the shortest LEB128 number in deserialization [#79](https://github.com/dfinity/candid/pull/79)

### Rust

* Parser improvements:
+ Floats in fractional number, no e-notation yet
Expand All @@ -10,6 +23,8 @@
+ Fix text parser to valiate utf-8 encoding
* Bounds check for bool and text
* Type annotation for reserved
* Compliance with test suites
* Tools: Candid CLI and Candiff (not published)

### Tools

* Initial commit for didc and candiff tools
* Add Candid test suite
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,16 @@ A list of community maintained Candid libraries:

We provide a [test suite](test/) to check Candid implementations for compliance.

## Contribution
## Release

To make a release in this repo:

* Update `Changelog.md` and merge the PR into master.
* `git tag 2020-04-01 -m "2020-04-01"`
* `git push origin 2020-04-01`

The Internet Computer is a new technology stack that is unhackable, fast, scales to billions of users around the world, and supports a new kind of autonomous software that promises to reverse Big Tech’s monopolization of the internet. It allows developers to take on the monopolization of the internet, and return the internet back to its free and open roots. We're committed to connecting those who believe the same through our events, content, and discussions.
The tag is always today's date. As the repo contains several targets, it is hard to give a version to the tag.

## Contribution

See our [CONTRIBUTING](.github/CONTRIBUTING.md) and [CODE OF CONDUCT](.github/CODE_OF_CONDUCT.md) to get started.

0 comments on commit 9e5dc77

Please sign in to comment.