diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 91032bb..05da276 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index ac04478..d0baf72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/package.json b/package.json index eac00ae..98b56fb 100644 --- a/package.json +++ b/package.json @@ -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": [