empiezo release en github
This commit is contained in:
parent
4a95965ea7
commit
d5ffbffc2d
2 changed files with 34 additions and 0 deletions
25
.github/workflows/release.yml
vendored
Normal file
25
.github/workflows/release.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
name: Create release from tag
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
tags:
|
||||||
|
- 'release-*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
create_release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write # needed to create releases
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Doit
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: env
|
||||||
|
|
||||||
|
- name: Testgh
|
||||||
|
run: gh repo list
|
||||||
9
release.sh
Executable file
9
release.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#|/bin/bash
|
||||||
|
echo "Ejecutando $0 en directorio $(PWD)"
|
||||||
|
echo "---> Variables de entorno relacionadas con GitHub:"
|
||||||
|
env | grep GITHUB_
|
||||||
|
echo "<-----"
|
||||||
|
TAG=${GITHUB_REF#refs/tags/}
|
||||||
|
make build-android-release-container
|
||||||
|
APK=$(find . | grep apk$)
|
||||||
|
|
||||||
Loading…
Reference in a new issue