mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
parent
ffe912b2fe
commit
d641634fe9
3 changed files with 23 additions and 11 deletions
27
.github/workflows/npm-publish.yml
vendored
27
.github/workflows/npm-publish.yml
vendored
|
@ -13,13 +13,20 @@ jobs:
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@master
|
uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
node-version: 10.0.0
|
node-version: 14.0.0
|
||||||
- name: Publish if version has been updated
|
- id: publish
|
||||||
uses: pascalgn/npm-publish-action@4f4bf159e299f65d21cd1cbd96fc5d53228036df
|
uses: JS-DevTools/npm-publish@v1
|
||||||
with: # All of theses inputs are optional
|
with:
|
||||||
tag_name: "%s"
|
token: ${{ secrets.NPM_AUTH_TOKEN }}
|
||||||
tag_message: "%s"
|
- name: Create Release
|
||||||
commit_pattern: "^Release (\\S+)"
|
if: steps.publish.outputs.type != 'none'
|
||||||
env: # More info about the environment variables in the README
|
id: create_release
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
|
uses: actions/create-release@v1
|
||||||
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
tag_name: ${{ steps.publish.outputs.version }}
|
||||||
|
release_name: Release ${{ steps.publish.outputs.version }}
|
||||||
|
body: ${{ steps.publish.outputs.version }}
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
|
@ -1,5 +1,10 @@
|
||||||
# History
|
# History
|
||||||
|
|
||||||
|
## 1.34.0
|
||||||
|
|
||||||
|
* Export defaultVersion (@matthi4s)
|
||||||
|
* Fix missing readable-stream types (@IceTank)
|
||||||
|
|
||||||
## 1.33.0
|
## 1.33.0
|
||||||
|
|
||||||
* Bump mcdata
|
* Bump mcdata
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "minecraft-protocol",
|
"name": "minecraft-protocol",
|
||||||
"version": "1.33.0",
|
"version": "1.34.0",
|
||||||
"description": "Parse and serialize minecraft packets, plus authentication and encryption.",
|
"description": "Parse and serialize minecraft packets, plus authentication and encryption.",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"types": "src/index.d.ts",
|
"types": "src/index.d.ts",
|
||||||
|
|
Loading…
Reference in a new issue