Skip to content

fix CI setup-release #455

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 30, 2022
Merged

fix CI setup-release #455

merged 1 commit into from
Oct 30, 2022

Conversation

ReenigneArcher
Copy link
Member

Description

  • fix CI setup-release

prior issue on push to master branch

  # determine to create a release or not
  if [[ $GITHUB_EVENT_NAME == "push" ]]; then
    RELEASE=true
  else
    RELEASE=false
  fi
  
  # set the release tag
  COMMIT=660d8e191c9019aab762a60ffe075bbf56993ad2
  if [[ $GITHUB_REF == refs/heads/master ]]; then
    TAG="v0.15.0"
    RELEASE_NAME="v0.15.0"
    RELEASE_BODY="### Added
  - (Windows) Add firewall rules scripts
  - (Windows) Automatically add and remove firewall rules at install/uninstall
  - (Windows) Automatically add and remove service at install/uninstall
  - (Docker) Official image added
  - (Linux) Add aarch64 flatpak package
  ### Changed
  - (Windows/Linux/MacOS) - Move default config and apps file to assets directory
  - (MacOS) Bump boost to 1.80 for macport builds
  - (Linux) Remove backup and restore of config files
  ### Fixed
  - (Linux) - Create sunshine config directory if it doesn't exist
  - (Linux) Remove portable home and config directories for AppImage
  - (Windows) Include service install and uninstall scripts again
  - (Windows) Automatically delete start menu entry upon uninstall
  - (Windows) Automatically delete program install directory upon uninstall, with user prompt
  - (Linux) Handle the case of no default audio sink
  - (Windows/Linux/MacOS) Fix default image paths
  - (Linux) Fix CUDA RGBA to NV12 conversion"
    PRE_RELEASE="false"
  elif [[ $GITHUB_REF == refs/heads/nightly ]]; then
    TAG="nightly-dev"
    RELEASE_NAME="nightly"
    RELEASE_BODY="automated nightly release - $(date -u +'%Y-%m-%dT%H:%M:%SZ') - ${COMMIT}"
    PRE_RELEASE="true"
  fi
  
  echo "create_release=${RELEASE}" >> $GITHUB_OUTPUT
  echo "release_tag=${TAG}" >> $GITHUB_OUTPUT
  echo "release_commit=${COMMIT}" >> $GITHUB_OUTPUT
  echo "release_name=${RELEASE_NAME}" >> $GITHUB_OUTPUT
  echo "release_body=${RELEASE_BODY}" >> $GITHUB_OUTPUT
  echo "pre_release=${PRE_RELEASE}" >> $GITHUB_OUTPUT
  shell: /usr/bin/bash -e {0}

error

Error: Unable to process file command 'output' successfully.
Error: Invalid format '- (Windows) Add firewall rules scripts'

Screenshot

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

@ReenigneArcher ReenigneArcher merged commit 71d249b into nightly Oct 30, 2022
@ReenigneArcher ReenigneArcher deleted the fix/CI-setup-release branch October 30, 2022 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant