Skip to content

Commit d641634

Browse files
jojomatikrom1504
authored andcommitted
Release 1.34.0 (#988)
* Update package.json * Update HISTORY.md
1 parent ffe912b commit d641634

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

.github/workflows/npm-publish.yml

+17-10
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,20 @@ jobs:
1313
- name: Set up Node.js
1414
uses: actions/setup-node@master
1515
with:
16-
node-version: 10.0.0
17-
- name: Publish if version has been updated
18-
uses: pascalgn/npm-publish-action@4f4bf159e299f65d21cd1cbd96fc5d53228036df
19-
with: # All of theses inputs are optional
20-
tag_name: "%s"
21-
tag_message: "%s"
22-
commit_pattern: "^Release (\\S+)"
23-
env: # More info about the environment variables in the README
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
25-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
16+
node-version: 14.0.0
17+
- id: publish
18+
uses: JS-DevTools/npm-publish@v1
19+
with:
20+
token: ${{ secrets.NPM_AUTH_TOKEN }}
21+
- name: Create Release
22+
if: steps.publish.outputs.type != 'none'
23+
id: create_release
24+
uses: actions/create-release@v1
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
with:
28+
tag_name: ${{ steps.publish.outputs.version }}
29+
release_name: Release ${{ steps.publish.outputs.version }}
30+
body: ${{ steps.publish.outputs.version }}
31+
draft: false
32+
prerelease: false

docs/HISTORY.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# History
22

3+
## 1.34.0
4+
5+
* Export defaultVersion (@matthi4s)
6+
* Fix missing readable-stream types (@IceTank)
7+
38
## 1.33.0
49

510
* Bump mcdata

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "minecraft-protocol",
3-
"version": "1.33.0",
3+
"version": "1.34.0",
44
"description": "Parse and serialize minecraft packets, plus authentication and encryption.",
55
"main": "src/index.js",
66
"types": "src/index.d.ts",

0 commit comments

Comments
 (0)