Skip to content

Commit 495a768

Browse files
Merge pull request #9 from LimberDuck/develop
v0.0.7
2 parents 4154859 + 0f6fb91 commit 495a768

7 files changed

Lines changed: 76 additions & 5 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
max-parallel: 1
1919
matrix:
2020
os: [ubuntu-latest, windows-latest, macos-latest]
21-
python-version: ['3.10', '3.11', '3.12', '3.13']
21+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2222

2323
steps:
2424
- uses: actions/checkout@v4

.github/workflows/python-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99
name: Upload Python Package
1010

1111
on:
12-
release:
13-
types: [published]
12+
workflow_run:
13+
workflows: ["Build and Release"]
14+
types:
15+
- completed
16+
workflow_dispatch:
1417

1518
jobs:
1619
deploy:

.github/workflows/release.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Build and Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
workflow_dispatch:
8+
9+
jobs:
10+
changelog:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest]
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Upload artifact with CHANGELOG
20+
uses: actions/upload-artifact@v4
21+
with:
22+
name: ${{ matrix.os }}-changelog
23+
path: CHANGELOG.md
24+
25+
release:
26+
needs: [changelog]
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Download all artifacts
30+
uses: actions/download-artifact@v4
31+
with:
32+
path: ./downloaded-app-artifacts
33+
34+
- name: Check location
35+
run: |
36+
ls -la
37+
ls -la ./downloaded-app-artifacts
38+
ls -la ./downloaded-app-artifacts/ubuntu-latest-changelog
39+
40+
- name: Generate info
41+
run: |
42+
echo "## Summary" > info.md
43+
awk '/^## /{if (p) exit; p=1; next} p' ./downloaded-app-artifacts/ubuntu-latest-changelog/CHANGELOG.md >> info.md
44+
45+
- name: Check location
46+
run: |
47+
ls -la
48+
ls -la ./downloaded-app-artifacts
49+
50+
- name: Create GitHub Release
51+
uses: softprops/action-gh-release@v2
52+
with:
53+
body_path: info.md
54+
env:
55+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ All notable changes to [**TSCCM** *(Tenable.SC CLI Manager)* by LimberDuck][1] p
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.0.7] - 2026-02-09
9+
10+
### Fixed
11+
12+
- tsccm credential --list command - fixed error when credential has no authType parameter
13+
14+
- tests for python
15+
- added: 3.14
16+
817
## [0.0.6] - 2025-09-01
918

1019
### Added
@@ -108,6 +117,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
108117

109118

110119

120+
[0.0.7]: https://github.com/LimberDuck/tsccm/compare/v0.0.6...v0.0.7
121+
[0.0.6]: https://github.com/LimberDuck/tsccm/compare/v0.0.5...v0.0.6
122+
[0.0.5]: https://github.com/LimberDuck/tsccm/compare/v0.0.4...v0.0.5
111123
[0.0.4]: https://github.com/LimberDuck/tsccm/compare/v0.0.3...v0.0.4
112124
[0.0.3]: https://github.com/LimberDuck/tsccm/compare/v0.0.2...v0.0.3
113125
[0.0.2]: https://github.com/LimberDuck/tsccm/compare/v0.0.1...v0.0.2

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
install_requires=required,
2424
entry_points={"console_scripts": ["tsccm = tsccm.__main__:main"]},
2525
classifiers=[
26+
"Programming Language :: Python :: 3.14",
2627
"Programming Language :: Python :: 3.13",
2728
"Programming Language :: Python :: 3.12",
2829
"Programming Language :: Python :: 3.11",

tsccm/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def credential(address, port, username, password, insecure, format, list, verbos
616616
"id": k["id"],
617617
"name": k["name"],
618618
"type": k["type"],
619-
"authType": k["typeFields"]["authType"],
619+
"authType": k.get("typeFields", {}).get("authType", ""),
620620
"ownerUsername": k["owner"]["username"],
621621
"createdTime": datetime.datetime.fromtimestamp(
622622
int(k["createdTime"])

tsccm/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.6"
1+
__version__ = "0.0.7"

0 commit comments

Comments
 (0)