diff --git a/.env.sample b/.env.sample index fe0d2c2..56dd6da 100644 --- a/.env.sample +++ b/.env.sample @@ -6,4 +6,4 @@ SECRET=test DB_DIR="/db" DEFAULT_PROFILE_PICTURE_URL="https://i.imgur.com/MaceU96.png" SECRET="CHANGE_ME" -VERSION=0.2.0 \ No newline at end of file +VERSION=0.2.1 \ No newline at end of file diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index a8b0b68..3fab775 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -26,6 +26,6 @@ jobs: with: distribution: goreleaser version: latest - args: release --clean + args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 061b205..c0d2e6d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,8 +1,8 @@ builds: - - binary: trufflehog + - binary: rsslay ldflags: - - -s -w -linkmode external -extldflags '-static' -X 'github.com/piraces/rsslay/pkg/version.BuildVersion={{ .Version }}' - env: [CGO_ENABLED=1,VERSION={{ .Version }}] + - -s -w -linkmode external -extldflags '-static' -X 'github.com/piraces/rsslay/pkg/version.BuildVersion=0.2.1' + env: [CGO_ENABLED=1,VERSION=0.2.1] goos: - linux - windows diff --git a/Dockerfile b/Dockerfile index 3193eb5..5fa3c82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ ENV PORT="8080" ENV DB_DIR="/db" ENV DEFAULT_PROFILE_PICTURE_URL="https://i.imgur.com/MaceU96.png" ENV SECRET="CHANGE_ME" -ENV VERSION=0.2.0 +ENV VERSION=0.2.1 COPY --from=build /rsslay . diff --git a/Dockerfile.railwayapp b/Dockerfile.railwayapp index 08d5fcc..7d42b37 100644 --- a/Dockerfile.railwayapp +++ b/Dockerfile.railwayapp @@ -36,7 +36,7 @@ ENV PORT=$PORT ENV DB_DIR=$DB_DIR ENV DEFAULT_PROFILE_PICTURE_URL=$DEFAULT_PROFILE_PICTURE_URL ENV SECRET=$SECRET -ENV VERSION=0.2.0 +ENV VERSION=0.2.1 COPY --from=build /rsslay .