Skip to content

Commit 34bb63a

Browse files
author
Aaron Roller
committed
fix: releasing after binary deployment master
1 parent 6795756 commit 34bb63a

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,22 @@ jobs:
88
runs-on: ubuntu-16.04
99
steps:
1010
- uses: actions/checkout@v1
11-
- name: Semantic Release
11+
- name: Determine the Release Version
1212
uses: cycjimmy/semantic-release-action@v2
1313
id: semantic # `id` for output variables
1414
with:
1515
semantic_version: 15.14.0
16-
extra_plugins: |
17-
@semantic-release/changelog@3.0.0
16+
dry_run: true
1817
env:
1918
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2019
- name: Package
2120
if: steps.semantic.outputs.new_release_published == 'true'
2221
id: package
23-
uses: AutoModality/action-package-debian-ros@v1.1.1
22+
uses: AutoModality/action-package-debian-ros@v1.2.1
2423
with:
2524
version: ${{ steps.semantic.outputs.new_release_version }}
26-
- name: The generated package
27-
run: echo "The artifact is ${{ steps.package.outputs.artifact-path }}"
25+
release-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_RELEASE_ENTITLEMENT }}
26+
# no dev repo in master!!!
2827
- name: Deploy
2928
if: steps.semantic.outputs.new_release_published == 'true'
3029
id: deploy
@@ -38,3 +37,13 @@ jobs:
3837
distro: 'ubuntu'
3938
release: 'xenial'
4039
file: '${{ steps.package.outputs.artifact-path }}'
40+
- name: Publish Release to Github
41+
if: steps.semantic.outputs.new_release_published == 'true'
42+
uses: cycjimmy/semantic-release-action@v2
43+
with:
44+
semantic_version: 15.14.0
45+
dry_run: false
46+
extra_plugins: |
47+
@semantic-release/changelog@3.0.0
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)