Skip to content

Commit 29aea61

Browse files
committed
fix publishing of a release
1 parent aaed99c commit 29aea61

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/configureBuildTestCreateAndUpload.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
if: github.event.release.prerelease
3434
run: conan create . jothepro/beta
3535
- name: configure, build, test and create project for stable channel
36-
if: github.event.release.release
36+
if: !github.event.release.prerelease
3737
run: conan create . jothepro/stable
3838
- name: upload to artifactory
3939
if: github.event_name == 'release'

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ To use this library in you project, you can install it in the following ways:
1313
```bash
1414
# Add artifactory repository as remote:
1515
conan remote add jothepro-conan-public https://jothepro.jfrog.io/artifactory/api/conan/conan-public
16-
# Install `mylibrary`
16+
# Install a release of `mylibrary`
1717
conan install --remote jothepro-conan-public mylibrary/0.1.7@jothepro/stable --update
18+
# Pre-Releases are available in the `beta` channel
19+
conan install --remote jothepro-conan-public mylibrary/0.1.8@jothepro/beta --update
1820
```
1921

2022

0 commit comments

Comments
 (0)