mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 09:39:15 +02:00
Use proper file name for snapcraft configuration on CI
This commit is contained in:
parent
30d91ba4b7
commit
67343bae00
1 changed files with 4 additions and 4 deletions
|
@ -167,11 +167,11 @@ snap:
|
|||
- apt-get update -y
|
||||
- cd pkg/snap
|
||||
|
||||
# Update version number in snapcraft.yml
|
||||
# Update version number in snapcraft.yaml
|
||||
- VERSION=$(echo $CI_COMMIT_REF_NAME | cut -c 2-)
|
||||
- echo "Determined binary version number 'v$VERSION', updating snapcraft.yml..."
|
||||
- 'sed "s/^version:.*\$/version: $VERSION/" -i snapcraft.yml'
|
||||
- 'sed "s/^pkgver=.*\$/pkgver=$VERSION/" -i snapcraft.yml'
|
||||
- echo "Determined binary version number 'v$VERSION', updating snapcraft.yaml..."
|
||||
- 'sed "s/^version:.*\$/version: $VERSION/" -i snapcraft.yaml'
|
||||
- 'sed "s/^pkgver=.*\$/pkgver=$VERSION/" -i snapcraft.yaml'
|
||||
|
||||
# Build the package
|
||||
- echo "Building snap package..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue