Skip to content

Commit

Permalink
Rename .versions to .version
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Oct 10, 2024
1 parent 9d6e57b commit 049c0e7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Load version
id: version
run: |
source .versions
source .version
echo "TAGLIB_VERSION=$TAGLIB_VERSION" >> $GITHUB_ENV
echo "TAGLIB_SHA=$TAGLIB_SHA" >> $GITHUB_ENV
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include .versions
include .version

RELEASE_VERSION ?= 0
PLATFORMS ?= linux/amd64,linux/arm64,linux/arm/v5,linux/arm/v6,linux/arm/v7,linux/386,darwin/amd64,darwin/arm64,windows/amd64,windows/386
Expand All @@ -18,8 +18,8 @@ dist: build
.PHONY: dist

update:
./latest-version.sh > .versions
git diff .versions
./latest-version.sh > .version
git diff .version
.PHONY: update

clean:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Last Release](https://img.shields.io/github/v/release/navidrome/cross-taglib?logo=github&label=latest&style=flat-square)](https://github.com/navidrome/cross-taglib/releases)
![Build](https://img.shields.io/github/actions/workflow/status/navidrome/cross-taglib/ci.yml?branch=main&logo=github&style=flat-square)
[![TagLib](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fnavidrome%2Fcross-taglib%2Fmaster%2F.versions&query=%24.TAGLIB_VERSION&label=TagLib&color=brightgreen)](https://github.com/taglib/taglib/releases)
[![TagLib](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fnavidrome%2Fcross-taglib%2Fmaster%2F.version&query=%24.TAGLIB_VERSION&label=TagLib&color=brightgreen)](https://github.com/taglib/taglib/releases)

This repository contains a Dockerfile to build a statically cross-compiled version of [TagLib](https://taglib.org) for
multiple platforms.
2 changes: 1 addition & 1 deletion latest-version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/zsh

source .versions
source .version

# Latest TagLib version
# GitHub repository in the format OWNER/REPO
Expand Down
2 changes: 1 addition & 1 deletion make-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

source .versions
source .version
RELEASE_VERSION=$1

cd dist
Expand Down

0 comments on commit 049c0e7

Please sign in to comment.