Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set up continuous delivery #23

Open
5 tasks
zadykian opened this issue Feb 27, 2021 · 0 comments
Open
5 tasks

set up continuous delivery #23

zadykian opened this issue Feb 27, 2021 · 0 comments
Assignees
Labels
devops CI/CD administration

Comments

@zadykian
Copy link
Owner

zadykian commented Feb 27, 2021

solution

  • add version tag to AppHost.csproj file

github actions
include following steps into pipeline (on merge to master branch):

  • version check (don't publish if version didn't change since last release)

  • dotnet publish:

  • self-contained --self-contained=true

  • app-trimming -p:PublishTrimmed=True [-p:TrimMode=Link]

  • single-file publish -p:PublishSingleFile=true

  • create zip archives for each OS (win, mac, linux) with following files:

  • executable

  • appsettings.json

  • include artifacts into release

@zadykian zadykian added the devops CI/CD administration label Feb 27, 2021
@zadykian zadykian self-assigned this Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops CI/CD administration
Projects
None yet
Development

No branches or pull requests

1 participant