Skip to content

Commit

Permalink
ci: Update build pipeline script
Browse files Browse the repository at this point in the history
  • Loading branch information
cdefgah committed Aug 1, 2024
1 parent 4a8567a commit 00e1d01
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: build
on: [push]

env:
app_version_number: '2.2.0'
app_version_number: '2.2.1'

jobs:
build:
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '^1.19'
go-version: '^1.22.5'

# Preparing folder structure for all platforms

Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# WhatsAppJpegRepair changelog

## Version 2.3.0
## Version 2.2.1

+ Refactored code, replaced deprecated calls to modern ones.
+ Refactored deprecated function calls, updated supported Golang version;

## Version 2.2.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WhatsApp Jpeg Image Repair

## version 2.2.0 (released on April 29, 2023)
## [version 2.2.1](./CHANGELOG.md) (released on August 1, 2024)

[![Build Status](https://github.com/cdefgah/whatsapp-jpeg-repair/workflows/build/badge.svg)](https://github.com/cdefgah/whatsapp-jpeg-repair/actions)

Expand Down
8 changes: 4 additions & 4 deletions WhatsAppJpegRepair.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

func main() {

fmt.Println(`WhatsAppJpegRepair version 2.3.0 Copyright (c) 2021 - 2024 by Rafael Osipov ([email protected])
fmt.Println(`WhatsAppJpegRepair version 2.2.1 Copyright (c) 2021 - 2024 by Rafael Osipov ([email protected])
Repairs jpeg images saved from WhatsApp application to prevent errors upon opening these images in the Adobe Photoshop.
Project web-site, source code and documentation: https://github.com/cdefgah/whatsapp-jpeg-repair`)

Expand Down Expand Up @@ -212,13 +212,13 @@ func repairImageFilesInManagedMode(sourceFolderPath string, destinationFolderPat
log.Fatal(err)
}

for _, v := range files {
if v.IsDir() {
for _, singleFileHandler := range files {
if singleFileHandler.IsDir() {
continue
}

totalFilesCount++
if processSingleImageFileInManagedMode(sourceFolderPath, v.Name(), destinationFolderPath, useCurrentModificationDateTime, deleteWhatsAppFiles) {
if processSingleImageFileInManagedMode(sourceFolderPath, singleFileHandler.Name(), destinationFolderPath, useCurrentModificationDateTime, deleteWhatsAppFiles) {
processedFilesCount++
}
}
Expand Down

0 comments on commit 00e1d01

Please sign in to comment.