Skip to content

Commit

Permalink
Merge pull request #68 from Deadpikle/doc/tagged-releases
Browse files Browse the repository at this point in the history
Add some docs about GitHub actions and tags
  • Loading branch information
xoofx authored Nov 13, 2024
2 parents 24654e5 + cb6f6d5 commit 1d14fc5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,20 @@ Depending on the kind of GitHub event, the run command will automatically:
- If it is a `push` with a tag version (e.g `v1.9.6` as configured with `[github]` section in the configuration) it will **perform a full build with publish**
- For an application, it will publish multiple cross-compiled packages to your release

> **NOTE about the publish process:**
>
> The publish process relies on a tag commit being pushed, and the GitHub action being run on that tag commit. If you have set up your GitHub action to only run on specific branches and not on tag pushes, the `dotnet-releaser` publish portion of the process will never run.
To fix this and still specify specific branches to run your action on, use something like this in your GitHub action:
>
> ```yml
> on:
> push:
> branches:
> - main # Used for stable releases
> - develop # Used for preview releases
> tags:
> - '*' # run on all tags being pushed
> ```
#### 1.2.2. Example of a GitHub CI Integration
An example of a setup with GitHub Actions:
Expand Down

0 comments on commit 1d14fc5

Please sign in to comment.