You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/01/23 23:12:03 UTC

[GitHub] [superset] eschutho commented on a change in pull request #12668: feat: weekly build

eschutho commented on a change in pull request #12668:
URL: https://github.com/apache/superset/pull/12668#discussion_r563210953



##########
File path: .github/workflows/scheduled_weekly_build.yml
##########
@@ -0,0 +1,32 @@
+on:
+
+  schedule:
+    - cron: '0 0 * * 2'  # Midnight on every Tuesday
+
+name: Scheduled weekly build
+
+jobs:
+  build:
+    name: Create Release
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@v2
+      - name: Get current date
+        run: echo "::set-output name=todays_date::$(date +'%Y-%m-%d')"
+      - name: Get latest tag
+        run: |
+          latest_tag_version_value=$(./scripts/find_latest_tag_version.sh)
+          echo "::set-output name=latest_tag_version::${latest_tag_version_value}"
+      - name: Create Release
+        id: create_release
+        uses: actions/create-release@v1
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        with:
+          tag_name: superset-${{outputs.latest_tag_version.value}}-weekly-build-${{ outputs.todays_date.value }}
+          release_name: superset-${{outputs.latest_tag_version.value}}-weekly-build-${{ outputs.todays_date.value }}
+          body: |
+            ##todo: list of commits

Review comment:
       lgtm. Do we need to fill this part in before accepting?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org