Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Document control script release procedure #136

Open
ilyakooo0 opened this issue Oct 11, 2021 · 0 comments
Open

Document control script release procedure #136

ilyakooo0 opened this issue Oct 11, 2021 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ilyakooo0
Copy link
Member

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

@ilyakooo0 ilyakooo0 added the documentation Improvements or additions to documentation label Oct 11, 2021
@ilyakooo0 ilyakooo0 assigned AnisimoffNikita and unassigned a13x5 Jan 24, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants