-
Notifications
You must be signed in to change notification settings - Fork 15
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
chore: Release v4.0.0 #606
Conversation
description: "Run x64 builds only" | ||
required: true | ||
default: false | ||
type: boolean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this to speed up the ability to confirm/test x64 releases, since non-x64 releases can take up to 10x longer
if is_root & ! [ -f "$user_bin_dir/$1" ] ; then | ||
ln -sf "$dest/$1" "$user_bin_dir/$1" | ||
echo "Linked $user_bin_dir/$1 to $dest" | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the binaries were installed as root, we need to do a symbolic to where the binaries were installed, since we install the binaries to /usr/local/bin if we are root
dest="$user_bin_dir/$job_name.sh" | ||
if ! [ -f "$dest" ]; then | ||
cp "$script_dir/headless/$job_name.sh" "$dest" | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make necessary folders, and don't overwrite existing job scripts when reinstalling
pids=$(pgrep "$command") | ||
if [ -n "$pids" ]; then | ||
echo "$pids" | xargs kill | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only call the kill command if there are processes to kill
- What I did
Cleaned up all remaining odds and ends:
- How I did it
- How to verify it
- Description for the changelog
chore: Release v4.0.0