Skip to content

Commit cb20f1f

Browse files
committed
Use "container-user" in path if no username exists; release v1.3.3
1 parent e9b5c69 commit cb20f1f

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ jobs:
4848
id: create_release
4949
shell: bash
5050
run: |
51-
[[ "${{ github.ref_name }}" == "test" ]] && latest="--latest=false" || latest=
51+
[[ "${{ github.ref_name }}" == "test" ]] && test_opts="--latest=false --draft" || test_opts=
5252
5353
gh release create "${{ github.ref_name }}" "${{ steps.create_archive.outputs.archive_name }}" \
5454
--title "IRMA ${{ github.ref_name }}" \
5555
--notes-file "$RUNNER_TEMP/release_notes.md" \
56-
$latest
56+
$test_opts
5757
env:
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5959

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# IRMA Changelog
22

3-
## [1.3.3]: 2026-05-13
3+
## [1.3.3]: 2026-05-14
44

55
### Fixes
66

77
- Regression fixed for zero alternative match data affecting post-processing
8+
- Fix working directory path error for when image user isn't found
89

910
## [1.3.2]: 2026-03-27
1011

IRMA

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ PROGRAM="Iterative Refinement Meta-Assembler (IRMA)"
33
AUTHOR="Samuel S. Shepard"
44
EMAIL="sshepard@cdc.gov"
55
AFFIL="CDC/DDID/NCIRD/ID"
6-
DATE="27 Apr 2026"
7-
VERSION="1.3.2"
6+
DATE="14 MAY 2026"
7+
VERSION="1.3.3"
88
LICENSE="Licensed under Apache 2 with a Public Domain copyright. This program comes with ABSOLUTELY NO WARRANTY. See notices in <README.md>.
99
Distributed, third-party components have non-commercial restrictions! See: <IRMA_RES/third_party/MANIFEST.md>"
1010

@@ -348,17 +348,18 @@ if [[ "$MAX_ROUNDS" -eq "1" && "$ASSEM_REF" -eq "1" ]]; then
348348
ALIGN_PROGS[0]="NONE"
349349
fi
350350

351+
WHOAMI_DIR=$(whoami 2> /dev/null || echo "container-user")
351352
# define ppath
352353
TOKEN=$(perl -e '@chars = ("A".."Z","0".."9","a".."z");print $chars[int(rand(scalar(@chars)))] for 1..32;')
353354
if [[ "$ALLOW_TMP" -eq "1" && "${GRID_ON:-0}" -eq "0" ]]; then
354355
if [ -z "$TMP" ]; then
355356
abort "ALLOW_TMP=1 but TMP var was unspecified!"
356357
else
357-
ppath="$TMP"/$(whoami)/IRMAv$VERSION/${RUN}-${TOKEN}
358+
ppath="$TMP"/$WHOAMI_DIR/IRMAv$VERSION/${RUN}-${TOKEN}
358359
fi
359360
else
360361
if [[ "${GRID_PATH:-0}" != "0" && "${GRID_ON:-0}" -eq "1" ]]; then
361-
ppath="$GRID_PATH"/$(whoami)/IRMAv$VERSION/${RUN}-${TOKEN}
362+
ppath="$GRID_PATH"/$WHOAMI_DIR/IRMAv$VERSION/${RUN}-${TOKEN}
362363
else
363364
ppath="$rpath"/ppath/${RUN}-${TOKEN}
364365
fi

0 commit comments

Comments
 (0)