-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINDIWebManagerApp.sh
More file actions
executable file
·29 lines (23 loc) · 1.49 KB
/
INDIWebManagerApp.sh
File metadata and controls
executable file
·29 lines (23 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# Astro-Dev Astronomy Software Development Submit Changes scripts
# INDIWebManagerApp.sh - A Script to submit changes to the INDI Web Manager App Repo
# Copyright (C) 2024 Robert Lancaster <rlancaste@gmail.com>
# This script is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
# This gets the directory from which this script is running so it can access files or other scripts in the repo
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
# Prepare to run the script by setting all of the environment variables
source "${DIR}/submit-engine.sh"
# This section sets the critical options for finding the repo and forked src folder.
export PACKAGE_NAME="INDI Web Manager App"
export PACKAGE_SHORT_NAME="indiwebmanagerapp"
# This automatically sets the repositories based on the package information above and your Username variables from settings.sh
# If any of these are wrong or the variables are wrong you should change this.
export FORKED_REPO="git@github.com:${GIT_USERNAME}/${PACKAGE_SHORT_NAME}.git"
export FORKED_REPO_HTML="https://github.com/${GIT_USERNAME}/${PACKAGE_SHORT_NAME}.git"
# Check to make sure that you are not in the master branch, and make a branch if needed.
# Then committing changes in the new branch or the current branch
# Then sending the changes to the server
commitAndPushToServer