mirror of
https://github.com/Danielku15/SigningServer
synced 2026-06-08 10:50:19 +00:00
Prepare Release 1.1.0 #6
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
name: Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and Test
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
matrix:
|
||||
configuration: [Debug, Release]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: '3.1.100'
|
||||
- uses: microsoft/setup-msbuild@v1
|
||||
- run: msbuild SigningServer.sln -restore -t:Rebuild -p:Configuration=${{ matrix.configuration }} -p:Platform=x64 -p:CopyToDist=true -m -p:BuildNumber=${{ github.run_number }}
|
||||
- run: |
|
||||
& "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" SigningServer.Test\bin\x64\${{ matrix.configuration }}\net48\SigningServer.Test.dll /Platform:x64
|
||||
- name: Archive Server Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: SigningServer.Server
|
||||
path: |
|
||||
Dist/${{ matrix.configuration }}/SigningServer.Server/*.*
|
||||
- name: Archive Client Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: SigningServer.Client
|
||||
path: |
|
||||
Dist/${{ matrix.configuration }}/SigningServer.Client/*.*
|
||||
@@ -0,0 +1,57 @@
|
||||
name: Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Create Release
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: montudor/action-zip@v0.1.0
|
||||
- uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: '3.1.100'
|
||||
- uses: microsoft/setup-msbuild@v1
|
||||
- run: msbuild SigningServer.sln -restore -t:Rebuild -p:Configuration=Release -p:Platform=x64 -p:CopyToDist=true -m
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
body: |
|
||||
Changes in this Release
|
||||
- TODO
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Package Server
|
||||
run: zip -qq -r ./dist/Release/SigningServer.Server.zip ./Release/SigningServer.Server
|
||||
- name: Upload Server
|
||||
id: upload-server
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./dist/Release/SigningServer.Server.zip
|
||||
asset_name: SigningServer.Server-x64-${{ github.ref }}.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Package Client
|
||||
run: zip -qq -r ./dist/Release/SigningServer.Client.zip ./Release/SigningServer.Client
|
||||
- name: Upload Client
|
||||
id: upload-client
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./dist/Release/SigningServer.Client.zip
|
||||
asset_name: SigningServer.Client-x64-${{ github.ref }}.zip
|
||||
asset_content_type: application/zip
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
||||
<BuildNumber Condition=" '$(BuildNumber)' == '' ">0</BuildNumber>
|
||||
<Version>1.0.0.$(BuildNumber)</Version>
|
||||
<Version>1.1.0.$(BuildNumber)</Version>
|
||||
<Company>Daniel Kuschny</Company>
|
||||
<Copyright>Copyright © 2020 Daniel Kuschny</Copyright>
|
||||
<Product>CoderLine SigningServer</Product>
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2020 Daniel Kuschny
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
Reference in New Issue
Block a user