Open obs-gh-alexlew opened 3 weeks ago
weird, are both the action and your local machine running linux? if not, which OSs are you using in each?
running macos locally, linux github action
created this repo to try and repro it https://github.com/caarlos0-graveyard/gorel-dir-glob-repro
so far, got the same output on linux and macos with v2.0.0-pro (which is basically the same as v1.26.2-pro).
#
# linux:
• adding file: dir/another/test as otherdir/test
• adding file: dir/another/testetest as otherdir/testetest
#
# macos:
• adding file: dir/another/test as otherdir/test
• adding file: dir/another/testetest as otherdir/testetest
on github action:
• adding file: dir/another/test as otherdir/test
• adding file: dir/another/testetest as otherdir/testetest
🤔
When I run the same command with the goreleaser github action, it places files into the archives in different locations than when I run it locally. Both environments are running the same version,
1.26.2-pro
.For a concrete example, I have a file located at
packaging/windows/connection/host_monitoring/metrics.yaml
in my repository.Goreleaser.yaml config snippet:
The command I'm running both locally and in the github action is
goreleaser release --prepare --clean --snapshot --verbose
Locally, I get this in the output
In the github action with the same
.goreleaser.yaml
I getWhy would the same command with the same config produce inconsistent results?