Merge pull request #72 from NodeFactoryIo/release-2.0.0-beta

Release v2.0.0-beta
This commit is contained in:
Marin Petrunić 2020-08-20 09:25:00 +02:00 committed by GitHub
commit 661f48dcf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 30 deletions

View File

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

View File

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