Skip to content

Commit

Permalink
[GH-143] Semi colons not interpreted by some machines.
Browse files Browse the repository at this point in the history
  • Loading branch information
030 committed Jul 19, 2020
1 parent fa943e0 commit de7ac95
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
None

## [4.1.1] - 2020-07-19
### Fixed
- Semi colons in zip file name not interpreted on some machines

## [4.1.0] - 2020-07-19
### Added
- Backup by anonymous users
Expand Down Expand Up @@ -208,7 +212,8 @@ None
### Added
- Download all artifacts from a certain Nexus3 repository.

[Unreleased]: https://github.com/030/n3dr/compare/4.1.0...HEAD
[Unreleased]: https://github.com/030/n3dr/compare/4.1.1...HEAD
[4.1.1]: https://github.com/030/n3dr/compare/4.1.0...4.1.1
[4.1.0]: https://github.com/030/n3dr/compare/4.0.0...4.1.0
[4.0.0]: https://github.com/030/n3dr/compare/3.6.3...4.0.0
[3.6.3]: https://github.com/030/n3dr/compare/3.6.2...3.6.3
Expand Down
2 changes: 1 addition & 1 deletion cli/backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (n Nexus3) StoreArtifactsOnDisk(dir, regex string) error {

// CreateZip adds all artifacts to a ZIP archive
func (n Nexus3) CreateZip(dir string) error {
name := "n3dr-backup-" + time.Now().Format("01-02-2006T15:04:05") + ".zip"
name := "n3dr-backup-" + time.Now().Format("01-02-2006T15-04-05") + ".zip"
if n.ZIP {
err := archiver.Archive([]string{dir}, name)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: n3dr # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
version: '4.1.0' # just for humans, typically '1.2+git' or '1.3.2'
version: '4.1.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Nexus3 Disaster Recovery # 79 char long summary
description: |
Download all artifacts at once or migrate automatically from Nexus to Nexus.
Expand Down

0 comments on commit de7ac95

Please sign in to comment.