Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

updated the action to modify the release build assets (#6669)

Manish Gupta062fc9dbc0aa
diff --git a/.github/workflows/build-branch.yml b/.github/workflows/build-branch.yml
index 3599fc71e2..d9ba3afee2 100644
--- a/.github/workflows/build-branch.yml
+++ b/.github/workflows/build-branch.yml
@@ -299,32 +299,6 @@ jobs:
buildx-platforms: ${{ needs.branch_build_setup.outputs.gh_buildx_platforms }}
buildx-endpoint: ${{ needs.branch_build_setup.outputs.gh_buildx_endpoint }}
- attach_assets_to_build:
- if: ${{ needs.branch_build_setup.outputs.build_type == 'Release' }}
- name: Attach Assets to Release
- runs-on: ubuntu-22.04
- needs: [branch_build_setup]
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Update Assets
- run: |
- cp ./deploy/selfhost/install.sh deploy/selfhost/setup.sh
-
- - name: Attach Assets
- id: attach_assets
- uses: actions/upload-artifact@v4
- with:
- name: selfhost-assets
- retention-days: 2
- path: |
- ${{ github.workspace }}/deploy/selfhost/setup.sh
- ${{ github.workspace }}/deploy/selfhost/swarm.sh
- ${{ github.workspace }}/deploy/selfhost/restore.sh
- ${{ github.workspace }}/deploy/selfhost/docker-compose.yml
- ${{ github.workspace }}/deploy/selfhost/variables.env
-
publish_release:
if: ${{ needs.branch_build_setup.outputs.build_type == 'Release' }}
name: Build Release
@@ -338,7 +312,6 @@ jobs:
branch_build_push_live,
branch_build_push_apiserver,
branch_build_push_proxy,
- attach_assets_to_build,
]
env:
REL_VERSION: ${{ needs.branch_build_setup.outputs.release_version }}
@@ -349,6 +322,8 @@ jobs:
- name: Update Assets
run: |
cp ./deploy/selfhost/install.sh deploy/selfhost/setup.sh
+ sed -i 's/${APP_RELEASE:-stable}/${APP_RELEASE:-'${REL_VERSION}'}/g' deploy/selfhost/docker-compose.yml
+ sed -i 's/APP_RELEASE=stable/APP_RELEASE='${REL_VERSION}'/g' deploy/selfhost/variables.env
- name: Create Release
id: create_release