Commit 4409bd7

mo khan <mo@mokhan.ca>
2021-12-15 23:57:47
chore: prep for release
1 parent 5fa7f83
Changed files (3)
lib/spandx/version.rb
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module Spandx
-  VERSION = '0.18.2'
+  VERSION = '0.18.3'
 end
CHANGELOG.md
@@ -1,4 +1,4 @@
-Version 0.18.2
+Version 0.18.3
 
 # Changelog
 
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+## [0.18.3] - 2021-12-15
+- fix(spdx): fallback to online catalogue when local catalogue is not available.
+
 ## [0.18.2] - 2021-06-05
 ### Fixed
 - fix(dpkg): detect package manager for related dependencies
@@ -237,7 +240,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Added
 - Provide ruby API to the latest SPDX catalogue.
 
-[Unreleased]: https://github.com/spandx/spandx/compare/v0.18.2...HEAD
+[Unreleased]: https://github.com/spandx/spandx/compare/v0.18.3...HEAD
+[0.18.3]: https://github.com/spandx/spandx/compare/v0.18.2...v0.18.3
 [0.18.2]: https://github.com/spandx/spandx/compare/v0.18.1...v0.18.2
 [0.18.1]: https://github.com/spandx/spandx/compare/v0.18.0...v0.18.1
 [0.18.0]: https://github.com/spandx/spandx/compare/v0.17.0...v0.18.0
Dockerfile
@@ -11,7 +11,7 @@ RUN apk update && \
   spandx pull && \
   spandx version && \
   apk del build-base ruby-dev && \
-  rm -r /root/.gem && \
+  rm -fr /root/.gem && \
   rm -fr /var/cache/apk/*
 VOLUME /scan
 CMD ["spandx"]