Compare commits

..

34 Commits

Author SHA1 Message Date
c79111996a Unfinished p4 implementation 2023-07-22 06:13:08 -04:00
94a54ac964 Update Dockerfile 2023-07-22 06:10:03 -04:00
eedb2c83ec Run tests on master 2023-07-22 05:45:35 -04:00
4906d867d0 Iteration 2023-07-22 05:38:34 -04:00
930d1b14b1 Iteration 2023-07-22 05:30:49 -04:00
02fe81d919 Iteration 2023-07-22 05:30:02 -04:00
849874cec6 Iteration 2023-07-22 05:28:03 -04:00
da1e716dde GitHub Actions Iterations 2023-07-22 05:24:36 -04:00
d2a3d5de6f GitHub Actions Iterations 2023-07-22 05:17:53 -04:00
f5204b496f GitHub Actions Iterations 2023-07-22 05:16:32 -04:00
3eb8b3da81 GitHub Actions Iterations 2023-07-22 05:15:27 -04:00
405ce258f2 GitHub Actions Iterations 2023-07-22 05:12:45 -04:00
1138c97865 GitHub Actions Iterations 2023-07-22 05:11:51 -04:00
8b214aab3d GitHub Actions Iterations 2023-07-22 05:11:03 -04:00
6a2b5da00b GitHub Actions Iterations 2023-07-22 05:09:18 -04:00
5c9bcfdac2 GitHub Actions Iterations 2023-07-22 05:04:59 -04:00
05b2278154 GitHub Actions Iterations 2023-07-22 05:03:40 -04:00
8976f24186 toml 2023-07-22 05:03:12 -04:00
2de8d7d597 GitHub Actions Iterations 2023-07-22 05:02:52 -04:00
29daef3b46 GitHub Actions Iterations 2023-07-22 04:59:16 -04:00
98fb6dada1 GitHub Actions Iterations 2023-07-22 04:57:52 -04:00
81f0cf33aa GitHub Actions Iterations 2023-07-22 04:54:53 -04:00
4d25ef7719 GitHub Actions Iterations 2023-07-22 04:52:29 -04:00
eecdc5661d GitHub Actions Iterations 2023-07-22 04:51:42 -04:00
f36e7be2d8 GitHub Actions Iterations 2023-07-22 04:51:11 -04:00
a273f83873 GitHub Actions Iterations 2023-07-22 04:50:33 -04:00
0ae43a314a GitHub Actions Iterations 2023-07-22 04:49:16 -04:00
df27ad2041 GitHub Actions Iterations 2023-07-22 04:48:41 -04:00
06671174b2 GitHub Actions Iterations 2023-07-22 04:48:03 -04:00
036b720f2e GitHub Actions Iterations 2023-07-22 04:47:13 -04:00
b6bfc2409c Add unit test workflow 2023-07-22 04:46:03 -04:00
28eaf580b4 Get config properly 2023-07-02 23:32:31 -04:00
fa41212e77 Rework get_version and various improvements 2023-07-02 23:03:34 -04:00
d1e2d77a29 Implement unittests 2023-07-02 18:29:32 -04:00
3 changed files with 10 additions and 8 deletions

View File

@ -24,10 +24,12 @@ RUN mkdir /workspace && \
chown -R semver:semver /workspace
VOLUME /workspace
USER semver:semver
# Setup semver
COPY --from=builder /wheels /semver/wheels
RUN pip install --no-cache /semver/wheels/*
USER semver:semver
WORKDIR /workspace
ENTRYPOINT [ "semver" ]

View File

@ -27,19 +27,19 @@ def main():
"""Main entry point for the application"""
parser = argparse.ArgumentParser(description="Bump Semantic Version.")
parser.add_argument(
"-n", "--no-push", help="do not try to push", action="store_false", dest="push"
"-n", "--no-push", help="Do not try to push", action="store_false", dest="push"
)
parser.add_argument(
"-g",
"--global-user",
help="set git user at a global level",
help="Set git user at a global level, helps in jenkins",
action="store_true",
dest="global_user",
)
parser.add_argument(
"-D",
"--debug",
help="sets logging level to DEBUG",
help="Sets logging level to DEBUG",
action="store_true",
dest="debug",
default=False,

View File

@ -11,14 +11,14 @@ def main():
parser.add_argument(
"-d",
"--dot",
help="switch out / for . to be used in docker tag",
help="Switch out / for . to be used in docker tag",
action="store_true",
dest="dot",
)
parser.add_argument(
"-D",
"--debug",
help="sets logging level to DEBUG",
help="Sets logging level to DEBUG",
action="store_true",
dest="debug",
default=False,
@ -26,12 +26,12 @@ def main():
parser.add_argument(
"-f",
"--format",
help="format for pre-release version syntax",
help="Format for pre-release version syntax",
choices=["npm", "maven", "docker"],
default=None,
)
parser.add_argument(
"-b", "--build-number", help="build number, used in pre-releases", default=0
"-b", "--build-number", help="Build number, used in pre-releases", default=0
)
args = parser.parse_args()