Skip to content

Do not include test files in release#131

Merged
sorenone merged 1 commit intooban-bg:mainfrom
milmazz:milton/chore/release-cleanup
Aug 5, 2025
Merged

Do not include test files in release#131
sorenone merged 1 commit intooban-bg:mainfrom
milmazz:milton/chore/release-cleanup

Conversation

@milmazz
Copy link
Copy Markdown
Contributor

@milmazz milmazz commented Aug 5, 2025

The latest release, oban_web 2.11.4, includes some files larger than 1 MB that are not actually needed; these are mostly testing files.

$ mix hex.package fetch oban_web --unpack
oban_web v2.11.4 extracted to /private/tmp/oban_web-2.11.4
$ tree oban_web-2.11.4/
oban_web-2.11.4/
...
├── mix.exs
├── priv
│   ├── oban_web_test.db
│   ├── oban_web_test.db-shm
│   ├── oban_web_test.db-wal
│   └── static
│       ├── app.css
│       └── app.js
└── README.md

17 directories, 53 files

With this change, we should avoid that situation in the future:

$ mix hex.build --unpack
...
  Files:
    ...
    lib/oban/web/exceptions.ex
    lib/oban/web.ex
    priv/static
    priv/static/app.css
    .formatter.exs
    mix.exs
    README.md
    CHANGELOG.md
    LICENSE.txt
  Version: 2.11.4
  Build tools: mix
  Description: Dashboard for the Oban job processing framework
  Licenses: Apache-2.0
  Links:
    Website: https://oban.pro
    Changelog: https://github.com/oban-bg/oban_web/blob/main/CHANGELOG.md
    GitHub: https://github.com/oban-bg/oban_web
  Elixir: ~> 1.15
Saved to oban_web-2.11.4

@sorenone
Copy link
Copy Markdown
Member

sorenone commented Aug 5, 2025

Thank you! Awesome.

@sorenone sorenone merged commit d56e984 into oban-bg:main Aug 5, 2025
0 of 2 checks passed
@milmazz milmazz deleted the milton/chore/release-cleanup branch August 5, 2025 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants