Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Cosy-Bio
Drugst.One
plugin
Commits
54c1fbf2
Commit
54c1fbf2
authored
3 years ago
by
AndiMajore
Browse files
Options
Downloads
Patches
Plain Diff
Scripts for the automatic generation, release and deletion of drugsTone.js and css versions
parent
c8d61933
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
releases/delete_tag.sh
+20
-0
20 additions, 0 deletions
releases/delete_tag.sh
releases/release_tag.sh
+35
-0
35 additions, 0 deletions
releases/release_tag.sh
with
55 additions
and
0 deletions
releases/delete_tag.sh
0 → 100755
+
20
−
0
View file @
54c1fbf2
#!/bin/bash
if
[
-z
"
$1
"
]
then
echo
"Please enter a version"
exit
fi
VERSION
=
v
$1
cd
../../
echo
"Cloning Release Repo..."
git clone git@github.com:AndiMajore/drugstone-releases.git
echo
"Deleting Release Version..."
cd
drugstone-releases
||
echo
"Error!"
exit
git push
--delete
origin
"
$VERSION
"
echo
"Clean up..."
cd
../
rm
-rf
drugstone-releases
echo
"Done!"
This diff is collapsed.
Click to expand it.
releases/release_tag.sh
0 → 100755
+
35
−
0
View file @
54c1fbf2
#!/bin/bash
if
[
-z
"
$1
"
]
then
echo
"Please enter a version"
exit
fi
if
[
-z
"
$2
"
]
then
echo
"Please enter a version message"
exit
fi
VERSION
=
v
$1
MESSAGE
=
$2
echo
"Building..."
cd
../
npm run build:netex
cd
../
echo
"Cloning Release Repo..."
git clone git@github.com:AndiMajore/drugstone-releases.git
echo
"Updating Repo..."
cp
frontend/drugsTone-build/
*
drugstone-releases/releases/
echo
"Tagging Version..."
cd
drugstone-releases
||
echo
"Error!"
exit
git tag
-a
"
$VERSION
"
-m
"
$MESSAGE
"
echo
"Releasing Version..."
git push origin
"
$VERSION
"
echo
"Clean up..."
cd
../
rm
-rf
drugstone-releases
echo
"Done!"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment