Skip to content

Commit

Permalink
Better README
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Oct 11, 2024
1 parent 308564b commit 2cd7b54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ dist: build
.PHONY: dist

update:
./latest-version.sh > .version
git diff .version
@./latest-version.sh > .version
@git diff .version
@if [ -z "`git status -s .version`" ]; then echo "No changes. Latest is still $(TAGLIB_VERSION)"; fi
.PHONY: update

release:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ the `make build` command with the `PLATFORMS` variable set to the desired platfo

### Tasks

- `make build` - Will build for all supported platforms
- `make build PLATFORMS=linux/amd64,darwin/arm64` - Will build for specific platforms
- `make update` - Will update the TagLib version in the `.version` file. After updating, you should build locally to
ensure everything is working, and then commit and push the changes.
- `make build` - Build for all supported platforms
- `make build PLATFORMS=linux/amd64,darwin/arm64` - Build for specific platforms
- `make update` - Update the TagLib version in the `.version` file. After updating, you should build locally to
ensure everything is working, and then commit and push the changed `.version` file.

### Release

Expand Down
4 changes: 0 additions & 4 deletions latest-version.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/bin/zsh

source .version

# Latest TagLib version
# GitHub repository in the format OWNER/REPO
REPO="taglib/taglib"

# GitHub API URL for fetching tags
Expand Down

0 comments on commit 2cd7b54

Please sign in to comment.