Skip to content

Commit

Permalink
Automatically trigger package builds on release
Browse files Browse the repository at this point in the history
This patch adds a workflow to trigger package creation after a release
is created on GitHub.
  • Loading branch information
jnidzwetzki committed Jan 5, 2024
1 parent b819aa2 commit 58298e9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release_build_packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "Build distribution packages"

"on":
release:
types: [released]

jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Build distribution packages
env:
GH_TOKEN: ${{ secrets.ORG_AUTOMATION_TOKEN }}
run: |
gh workflow run docker-image.yml -R timescale/timescaledb-docker -f version=${{ github.event.release.tag_name }}
gh workflow run timescaledb-debian.yml -R timescale/release-build-scripts -f version=${{ github.event.release.tag_name }} -f upload-artifacts=true
gh workflow run timescaledb-ubuntu.yml -R timescale/release-build-scripts -f version=${{ github.event.release.tag_name }} -f upload-artifacts=true
gh workflow run timescaledb-apt-arm64.yml -R timescale/release-build-scripts -f version=${{ github.event.release.tag_name }} -f upload-artifacts=true
gh workflow run timescaledb-rpm.yml -R timescale/release-build-scripts -f version=${{ github.event.release.tag_name }} -f upload-artifacts=true
gh workflow run timescaledb-homebrew.yml -R timescale/release-build-scripts -f version=${{ github.event.release.tag_name }} -f upload-artifacts=true
gh workflow run timescaledb-windows.yml -R timescale/release-build-scripts -f version=${{ github.event.release.tag_name }} -f upload-artifacts=true

0 comments on commit 58298e9

Please sign in to comment.