Release v2.0.0-beta

This commit is contained in:
Marin Petrunić 2020-08-20 09:10:02 +02:00
parent 5ae0639f52
commit 7b54d65c03
No known key found for this signature in database
GPG Key ID: 834D07135E110DA5
3 changed files with 31 additions and 30 deletions

View File

@ -1,27 +1,28 @@
name: npm-publish
on:
push:
branches:
- master # Change this to your default branch
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 12.4.0
- name: Build library
run: yarn install --frozen-lockfile && yarn run build
- name: Publish if version has been updated
uses: pascalgn/npm-publish-action@51fdb4531e99aac1873764ef7271af448dc42ab4
with: # All of theses inputs are optional
tag_name: "v%s"
tag_message: "v%s"
commit_pattern: "^Release (\\S+)"
env: # More info about the environment variables in the README
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
# TODO: replace with something that uses beta tags depending on version
#name: npm-publish
#on:
# push:
# branches:
# - master # Change this to your default branch
#jobs:
# npm-publish:
# name: npm-publish
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@master
# - name: Set up Node.js
# uses: actions/setup-node@master
# with:
# node-version: 12.4.0
# - name: Build library
# run: yarn install --frozen-lockfile && yarn run build
# - name: Publish if version has been updated
# uses: pascalgn/npm-publish-action@51fdb4531e99aac1873764ef7271af448dc42ab4
# with: # All of theses inputs are optional
# tag_name: "v%s"
# tag_message: "v%s"
# commit_pattern: "^Release (\\S+)"
# env: # More info about the environment variables in the README
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
# NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings

View File

@ -5,11 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.2.0-rc.1]
## [2.0.0-rc.1]
#### Features
- switched to aegir for building and linting
- replaced some Buffer usage with Uint8Arrays
- using peer id with Uint8Arrays (breaking!)
## [1.1.2]

View File

@ -1,6 +1,6 @@
{
"name": "libp2p-noise",
"version": "1.2.0-rc.1",
"version": "2.0.0-beta",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [