Skip to content

Commit 6bc4ef4

Browse files
authored
Merge pull request #56 from ruanklein/development
Fix go module to v3
2 parents b6bffee + ca92a42 commit 6bc4ef4

58 files changed

Lines changed: 97 additions & 70 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
run: |
3333
apk add --no-cache make pandoc zip tar bash gzip
3434
35+
- name: Test build
36+
run: |
37+
make test
38+
3539
- name: Build binaries
3640
run: |
3741
make build-windows

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [3.2.1]
6+
7+
### Fixes and Maintenance
8+
9+
- **Go Module Path Update:**
10+
The module path has been updated from:
11+
12+
```
13+
github.com/ruanklein/synapseq
14+
```
15+
16+
to:
17+
18+
```
19+
github.com/ruanklein/synapseq/v3
20+
```
21+
22+
This change aligns with Go's [Semantic Import Versioning](https://go.dev/doc/modules/version-numbers) requirements for modules at version `v2` and higher.
23+
Without this suffix, Go tools (such as `go get` and `pkg.go.dev`) would incorrectly fetch the legacy `v2.1.1+incompatible` release instead of the latest version.
24+
25+
- **Fixed Import Paths:**
26+
All internal and public imports have been updated to reference the correct v3 module path.
27+
528
## [3.2.0]
629

730
### New Features

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BIN_NAME := synapseq
22
BIN_DIR := bin
33
VERSION := $(shell cat VERSION)
4-
GO_BUILD_FLAGS := -ldflags="-s -w -X github.com/ruanklein/synapseq/internal/info.VERSION=$(VERSION)"
4+
GO_BUILD_FLAGS := -ldflags="-s -w -X github.com/ruanklein/synapseq/v3/internal/info.VERSION=$(VERSION)"
55
MAIN := ./cmd/synapseq
66
# Documentation
77
MAN_DIR := docs/manpage

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.0
1+
3.2.1

cmd/synapseq/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"os"
1313
"runtime"
1414

15-
synapseq "github.com/ruanklein/synapseq/core"
16-
"github.com/ruanklein/synapseq/internal/cli"
15+
synapseq "github.com/ruanklein/synapseq/v3/core"
16+
"github.com/ruanklein/synapseq/v3/internal/cli"
1717
)
1818

1919
// main is the entry point of the SynapSeq application

core/appcontext.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"fmt"
1212
"io"
1313

14-
t "github.com/ruanklein/synapseq/internal/types"
14+
t "github.com/ruanklein/synapseq/v3/internal/types"
1515
)
1616

1717
// AppContext holds the configuration for the application.

core/convert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"fmt"
1212
"os"
1313

14-
seq "github.com/ruanklein/synapseq/internal/sequence"
15-
t "github.com/ruanklein/synapseq/internal/types"
14+
seq "github.com/ruanklein/synapseq/v3/internal/sequence"
15+
t "github.com/ruanklein/synapseq/v3/internal/types"
1616
)
1717

1818
// convert converts the loaded sequence to text format

core/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SynapSeq supports multiple input formats:
2323
"log"
2424
"os"
2525
26-
synapseq "github.com/ruanklein/synapseq/core"
26+
synapseq "github.com/ruanklein/synapseq/v3/core"
2727
)
2828
2929
func main() {

core/example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"log"
1313
"os"
1414

15-
synapseq "github.com/ruanklein/synapseq/core"
15+
synapseq "github.com/ruanklein/synapseq/v3/core"
1616
)
1717

1818
func ExampleNewAppContext() {

core/extract.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package core
1010
import (
1111
"os"
1212

13-
"github.com/ruanklein/synapseq/internal/audio"
13+
"github.com/ruanklein/synapseq/v3/internal/audio"
1414
)
1515

1616
// extract extracts the text sequence from a WAV file

0 commit comments

Comments
 (0)