Skip to content
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

117 support beta releases of pan os builds with a b in their names #118

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ WORKDIR /app
COPY settings.yaml /app

# Install any needed packages specified in requirements.txt
# Note: The requirements.txt should contain pan-os-upgrade==1.3.8
RUN pip install --no-cache-dir pan-os-upgrade==1.3.8
# Note: The requirements.txt should contain pan-os-upgrade==1.3.9
RUN pip install --no-cache-dir pan-os-upgrade==1.3.9

# Set the locale to avoid issues with emoji rendering
ENV LANG C.UTF-8
Expand Down
8 changes: 8 additions & 0 deletions docs/about/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Welcome to the release notes for the `pan-os-upgrade` tool. This document provides a detailed record of changes, enhancements, and fixes in each version of the tool.

## Version 1.3.9

**Release Date:** *<20240319>*

### What's New in version 1.3.9

- Added support for beta releases with `-b` in their PAN-OS version names

## Version 1.3.8

**Release Date:** *<20240318>*
Expand Down
2 changes: 2 additions & 0 deletions pan_os_upgrade/components/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,8 @@ def parse_version(version: str) -> Tuple[int, int, int, int]:
maintenance_str, hotfix_str = maintenance_part.split("-h")
elif "-c" in maintenance_part:
maintenance_str, hotfix_str = maintenance_part.split("-c")
elif "-b" in maintenance_part:
maintenance_str, hotfix_str = maintenance_part.split("-b")
else:
maintenance_str = maintenance_part
hotfix_str = "0"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pan-os-upgrade"
version = "1.3.8"
version = "1.3.9"
description = "Python script to automate the upgrade process of PAN-OS firewalls."
authors = ["Calvin Remsburg <[email protected]>"]
documentation = "https://cdot65.github.io/pan-os-upgrade/"
Expand Down
1 change: 1 addition & 0 deletions tests/test_parse_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
("1.0.0", (1, 0, 0, 0)),
("2.5.3", (2, 5, 3, 0)),
("4.2.0-h1", (4, 2, 0, 1)),
("11.1.2-b1", (11, 1, 2, 1)),
("3.10.4-h2", (3, 10, 4, 2)),
("0.9.0-h0", (0, 9, 0, 0)),
("6.3.5-c1", (6, 3, 5, 1)),
Expand Down
Loading