Release 2.0

## Lots of new features and it still retains backward compatibility!

- Added batch mode per issue #28
- Added ALAC wrapper script per issue #28
- Bug fix for issue #29 introduced with release 1.3
- Added output and keep-file options per issue #30
- Moved option check earlier in the script and completely reworked options/arguments processing
- Added long option names
- Added debug info for system API
- Added debug info for config API
- Added multiple debug logging levels, defaults to lowest
  - Default debug level excludes the returned JSON, making it more readable and useful
- Normalized test event output
- Minor fix for error text
- Added version option
- Modified how script version is handled
   - Updated BuildImage.yml
   - Updated Dockerfile
   - Update 98-flac2mp3 init script
- Changed awk pattern match to be more robust
- Removed dedundant system command in awk script
- Updated help text
- Updated README.md
- Updated SECURITY.md
This commit is contained in:
TheCaptain989
2022-05-07 11:26:42 -05:00
parent 12feeae2b6
commit 024b80026f
9 changed files with 428 additions and 231 deletions
+3 -2
View File
@@ -20,9 +20,10 @@ jobs:
cat <<EOF
Building version $VERSION
EOF
# Insert version into scripts
sed -i -e "s/{{VERSION}}/$VERSION/" $GITHUB_WORKSPACE/root/usr/local/bin/flac2mp3.sh $GITHUB_WORKSPACE/root/etc/cont-init.d/98-flac2mp3
# Build image
docker build --build-arg VERSION=$VERSION \
--no-cache \
docker build --no-cache \
--tag ${{ github.sha }} .
- name: Tag image
if: ${{ github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) }}