Skip to content

Commit

Permalink
Prepare to release 0.0.1-rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
sakhnik committed Apr 13, 2021
1 parent 88a890b commit 5d13011
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/release-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,18 @@ jobs:
run: choco install msys2
- name: Install tools and libraries
run: |
c:\tools\msys64\usr\bin\bash -l -c "${env:WORKSPACE_MSYS2}/scripts/install-mingw.sh"
.\scripts\run-sh.ps1 "install-mingw.sh"
- name: Build
run: |
c:\tools\msys64\usr\bin\bash -l -c "${env:WORKSPACE_MSYS2}/scripts/build.sh"
.\scripts\run-sh.ps1 "build.sh"
- name: Package
run: |
c:\tools\msys64\usr\bin\bash -l -c "${env:WORKSPACE_MSYS2}/scripts/package.sh"
.\scripts\run-sh.ps1 "package.sh"
cd dist
choco pack
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
LICENSE
dist/*.nupkg
cd ..
- name: Release
run: |
.\scripts\run-sh.ps1 "release.sh"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10)
project(nvim-sdl2)

set(VERSION 0.0.1-rc1)
set(VERSION 0.0.1-rc2)

find_package(Threads)
find_package(PkgConfig REQUIRED)
Expand Down
7 changes: 7 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash -e

if [[ "$WORKSPACE_MSYS2" ]]; then
cd "$WORKSPACE_MSYS2"
fi

gh release create "${GITHUB_REF#refs/tags/}" dist/*.nupkg

0 comments on commit 5d13011

Please sign in to comment.