From a77ffc137b3a3617f82fbc409f3352cc0d528512 Mon Sep 17 00:00:00 2001 From: yossTheDev Date: Thu, 6 Oct 2022 16:51:20 -0400 Subject: [PATCH] - --- .github/workflows/release.yml | 60 +++++++++++++++++++++++++++++++++++ CHANGELOG.md | 6 ++++ 2 files changed, 66 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e0464ef --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,60 @@ +name: release + +on: + push: + tags: + - '*' + +jobs: + build_release: + name: build_release + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: prepare enviroment + run: npm install -g pkg + + - name: build + run: pkg . --out-path ./bin/dist/ + + - name: release + uses: actions/create-release@v1 + id: create_release + with: + draft: false + prerelease: false + release_name: ${{ github.ref }} + tag_name: ${{ github.ref }} + body_path: CHANGELOG.md + env: + GITHUB_TOKEN: ${{ github.token }} + + - name: upload linux artifact + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ github.token }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./bin/dist/mots-linux + asset_name: mots-linux + - name: upload darwin artifact + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ github.token }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./bin/dist/mots-darwin + asset_name: mots-darwin + + - name: upload windows artifact + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ github.token }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./bin/dist/mots-win.exe + asset_name: mots-win.exe diff --git a/CHANGELOG.md b/CHANGELOG.md index 0eb2224..7269146 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,3 +21,9 @@ Ex: ``` bash mots serve path/to/folder1,path/to/folder2 ``` + +## **V 0.0.7** + +* Adds Prefabs System +* Improve console outputs +* Fix some bugs