Skip to content

Document control script release procedure #136

Description

@ilyakooo0

The task is to fill in this TODO:

2. If there were changes to control scripts:
1. _**\<TODO\>**_

Ideally, we would integrate the control script release into the release GitHub Action job:

release:
name: Release
if: github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'true'
needs: [octo-macOS, octo-linux, docker-images]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- name: Common setup
uses: ./.github/actions/common_setup
with:
cachixSigningKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- name: Push Docker Release Images to DockerHub
uses: ./.github/actions/push_docker_images
with:
tag: ${{ github.event.inputs.version }}
docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
docker_password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push Docker latest Images to DockerHub
uses: ./.github/actions/push_docker_images
with:
tag: latest
docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
docker_password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/download-artifact@v2
- name: Zip and move
run: |
chmod +x octo-cli-macos/octo
zip octo-cli-macos octo-cli-macos/octo
chmod +x octo-cli-linux/octo
zip octo-cli-linux octo-cli-linux/octo
mv octo-cli-image/* .
mv octopod-server-image/* .
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "${{ github.event.inputs.version }}"
files: |
*.zip
*.tar.gz

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions