-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed67816
commit ac41efa
Showing
2 changed files
with
26 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: PublishRelease | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
invoke_package_distribution: | ||
name: Invoke chipmunk package creation and distribution for different package managers | ||
needs: build_release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout chipmunk-distribution | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: esrlabs/chipmunk-distribution | ||
path: "./chipmunk-distribution" | ||
token: ${{secrets.PUSH_TOKEN}} | ||
- name: Push tag | ||
working-directory: ./chipmunk-distribution | ||
run: | | ||
git config user.name "esrlabs" | ||
git config user.email "[email protected]" | ||
git remote set-url origin "https://esrlabs:${{secrets.PUSH_TOKEN}}@github.com/esrlabs/chipmunk-distribution" | ||
git tag ${{ github.ref_name }} | ||
git push origin ${{ github.ref_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,22 +111,3 @@ jobs: | |
release-tag: ${{ github.ref_name }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
invoke_package_distribution: | ||
name: Invoke chipmunk package creation and distribution for different package managers | ||
needs: build_release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout chipmunk-distribution | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: esrlabs/chipmunk-distribution | ||
path: './chipmunk-distribution' | ||
token: ${{secrets.PUSH_TOKEN}} | ||
- name: Push tag | ||
working-directory: ./chipmunk-distribution | ||
run: | | ||
git config user.name "esrlabs" | ||
git config user.email "[email protected]" | ||
git remote set-url origin "https://esrlabs:${{secrets.PUSH_TOKEN}}@github.com/esrlabs/chipmunk-distribution" | ||
git tag ${{ github.ref_name }} | ||
git push origin ${{ github.ref_name }} |